Package org.apache.poi.xwpf.usermodel
Class XWPFFactory
- java.lang.Object
-
- org.apache.poi.ooxml.POIXMLFactory
-
- org.apache.poi.xwpf.usermodel.XWPFFactory
-
public final class XWPFFactory extends POIXMLFactory
Instantiates sub-classes of POIXMLDocumentPart depending on their relationship type
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected POIXMLRelationgetDescriptor(String relationshipType)returns the descriptor for the given relationship typestatic XWPFFactorygetInstance()-
Methods inherited from class org.apache.poi.ooxml.POIXMLFactory
createDocumentPart, getPackageRelationship, newDocumentPart
-
-
-
-
Method Detail
-
getInstance
public static XWPFFactory getInstance()
-
getDescriptor
protected POIXMLRelation getDescriptor(String relationshipType)
Description copied from class:POIXMLFactoryreturns the descriptor for the given relationship type- Specified by:
getDescriptorin classPOIXMLFactory- Parameters:
relationshipType- the relationship type of the descriptor- Returns:
- the descriptor or null if type is unknown
- Since:
- POI 3.14-Beta1
-
-