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 Details

    • getInstance

      public static XWPFFactory getInstance()
    • getDescriptor

      protected POIXMLRelation getDescriptor(String relationshipType)
      Description copied from class: POIXMLFactory
      returns the descriptor for the given relationship type
      Specified by:
      getDescriptor in class POIXMLFactory
      Parameters:
      relationshipType - the relationship type of the descriptor
      Returns:
      the descriptor or null if type is unknown
      Since:
      3.14-Beta1