Package org.apache.poi.xwpf.usermodel
Class XWPFFactory
java.lang.Object
org.apache.poi.ooxml.POIXMLFactory
org.apache.poi.xwpf.usermodel.XWPFFactory
Instantiates sub-classes of POIXMLDocumentPart depending on their relationship type
-
Method Summary
Modifier and TypeMethodDescriptionprotected POIXMLRelationgetDescriptor(String relationshipType) returns the descriptor for the given relationship typestatic XWPFFactoryMethods inherited from class org.apache.poi.ooxml.POIXMLFactory
createDocumentPart, getPackageRelationship, newDocumentPart
-
Method Details
-
getInstance
-
getDescriptor
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:
- 3.14-Beta1
-