Class XDGFFactory


  • public class XDGFFactory
    extends POIXMLFactory
    Instantiates sub-classes of POIXMLDocumentPart depending on their relationship type
    • Constructor Detail

      • XDGFFactory

        public XDGFFactory​(XDGFDocument document)
    • Method Detail

      • newDocumentPart

        public POIXMLDocumentPart newDocumentPart​(POIXMLRelation descriptor)
        Description copied from class: POIXMLFactory
        Create a new POIXMLDocumentPart using the supplied descriptor. This method is used when adding new parts to a document, for example, when adding a sheet to a workbook, slide to a presentation, etc.
        Overrides:
        newDocumentPart in class POIXMLFactory
        Parameters:
        descriptor - describes the object to create
        Returns:
        A new instance of a POIXMLDocumentPart.