public class XDGFFactory extends POIXMLFactory
Constructor and Description |
---|
XDGFFactory(XDGFDocument document) |
Modifier and Type | Method and Description |
---|---|
POIXMLDocumentPart |
createDocumentPart(POIXMLDocumentPart parent,
PackagePart part)
Create a POIXMLDocumentPart from existing package part and relation.
|
protected POIXMLRelation |
getDescriptor(java.lang.String relationshipType)
returns the descriptor for the given relationship type
|
POIXMLDocumentPart |
newDocumentPart(POIXMLRelation descriptor)
Create a new POIXMLDocumentPart using the supplied descriptor.
|
getPackageRelationship
public XDGFFactory(XDGFDocument document)
protected POIXMLRelation getDescriptor(java.lang.String relationshipType)
POIXMLFactory
getDescriptor
in class POIXMLFactory
relationshipType
- the relationship type of the descriptorpublic POIXMLDocumentPart createDocumentPart(POIXMLDocumentPart parent, PackagePart part)
POIXMLFactory
POIXMLDocument.load(POIXMLFactory)
when parsing a documentcreateDocumentPart
in class POIXMLFactory
parent
- parent partpart
- the PackagePart representing the created instancepublic POIXMLDocumentPart newDocumentPart(POIXMLRelation descriptor)
POIXMLFactory
newDocumentPart
in class POIXMLFactory
descriptor
- describes the object to createCopyright 2021 The Apache Software Foundation or its licensors, as applicable.