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.
(从现有的包部件和关系创建 POIXMLDocumentPart。)
|
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.
(使用提供的描述符创建一个新的 POIXMLDocumentPart。)
|
getPackageRelationship
public XDGFFactory(XDGFDocument document)
protected POIXMLRelation getDescriptor(java.lang.String relationshipType)
POIXMLFactory
getDescriptor
in class
POIXMLFactory
(类 POIXMLFactory 中的 getDescriptor)
relationshipType
- the relationship type of the descriptor
(relationshipType - 描述符的关系类型)
public POIXMLDocumentPart createDocumentPart(POIXMLDocumentPart parent, PackagePart part)
POIXMLFactory
POIXMLDocument.load(POIXMLFactory)
when parsing a document
(从现有的包部件和关系创建 POIXMLDocumentPart。解析文档时从 POIXMLDocument.load(POIXMLFactory) 调用此方法)
createDocumentPart
in class
POIXMLFactory
parent
- parent part
(父级 - 父级)
part
- the PackagePart representing the created instance
(part - 表示创建的实例的 PackagePart)
public POIXMLDocumentPart newDocumentPart(POIXMLRelation descriptor)
POIXMLFactory
newDocumentPart
in class
POIXMLFactory
descriptor
- describes the object to create
(描述符 - 描述要创建的对象)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.