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.ObjectThe 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 idspointing to it.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends POIXMLDocumentPart>
TgetDocumentPart()PackageRelationshipgetRelationship()
-
-
-
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
-
-