@Beta public final class XSLFFactory extends POIXMLFactory
Modifier and Type | Method and Description |
---|---|
POIXMLDocumentPart |
createDocumentPart(POIXMLDocumentPart parent,
PackageRelationship rel,
PackagePart part)
Create a POIXMLDocumentPart from existing package part and relation.
|
static XSLFFactory |
getInstance() |
POIXMLDocumentPart |
newDocumentPart(POIXMLRelation descriptor)
Create a new POIXMLDocumentPart using the supplied descriptor.
|
public static XSLFFactory getInstance()
public POIXMLDocumentPart createDocumentPart(POIXMLDocumentPart parent, PackageRelationship rel, PackagePart part)
POIXMLFactory
POIXMLDocument.load(POIXMLFactory)
when parsing a documentcreateDocumentPart
in class POIXMLFactory
parent
- parent partrel
- the package part relationshippart
- the PackagePart representing the created instancepublic POIXMLDocumentPart newDocumentPart(POIXMLRelation descriptor)
POIXMLFactory
newDocumentPart
in class POIXMLFactory
descriptor
- describes the object to createCopyright © 2005-2010 Potix Corporation. All Rights Reserved.