org.apache.poi
public abstract class POIXMLFactory extends java.lang.Object
POIXMLDocumentPart
Constructor and Description |
---|
POIXMLFactory() |
Modifier and Type | Method and Description |
---|---|
abstract POIXMLDocumentPart |
createDocumentPart(PackageRelationship rel,
PackagePart part)
Create a POIXMLDocumentPart from existing package part and relation.
|
abstract POIXMLDocumentPart |
newDocumentPart(POIXMLRelation descriptor)
Create a new POIXMLDocumentPart using the supplied descriptor.
|
public abstract POIXMLDocumentPart createDocumentPart(PackageRelationship rel, PackagePart part)
POIXMLDocument.load(POIXMLFactory)
when parsing a documentrel
- the package part relationshippart
- the PackagePart representing the created instancepublic abstract POIXMLDocumentPart newDocumentPart(POIXMLRelation descriptor)
descriptor
- describes the object to createCopyright 2016 The Apache Software Foundation or its licensors, as applicable.