Package org.apache.poi.ooxml
Class POIXMLDocumentPart.RelationPart
- java.lang.Object
-
- org.apache.poi.ooxml.POIXMLDocumentPart.RelationPart
-
- Enclosing class:
- POIXMLDocumentPart
public static class POIXMLDocumentPart.RelationPart extends java.lang.Object
The RelationPart is a cached relationship between the document, which contains the RelationPart, and one of its referenced child document parts. The child document parts may only belong to one parent, but it's often referenced by other parents too, having varyingrelationship ids
pointing to it.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends POIXMLDocumentPart>
TgetDocumentPart()
PackageRelationship
getRelationship()
-
-
-
Method Detail
-
getRelationship
public PackageRelationship getRelationship()
- Returns:
- the cached relationship, which uniquely identifies this child document part within the parent
-
getDocumentPart
public <T extends POIXMLDocumentPart> T getDocumentPart()
- Type Parameters:
T
- the cast of the caller to a document sub class- Returns:
- the child document part
-
-