org.apache.poi.xdgf.usermodel
Class XDGFFactory

java.lang.Object
  extended by org.apache.poi.POIXMLFactory
      extended by org.apache.poi.xdgf.usermodel.XDGFFactory

public class XDGFFactory
extends POIXMLFactory

Instantiates sub-classes of POIXMLDocumentPart depending on their relationship type


Constructor Summary
XDGFFactory(XDGFDocument document)
           
 
Method Summary
protected  POIXMLDocumentPart createDocumentPart(java.lang.Class<? extends POIXMLDocumentPart> cls, java.lang.Class<?>[] classes, java.lang.Object[] values)
          Need to delegate instantiation to sub class because of constructor visibility
protected  POIXMLRelation getDescriptor(java.lang.String relationshipType)
          returns the descriptor for the given relationship type
 
Methods inherited from class org.apache.poi.POIXMLFactory
createDocumentPart, createDocumentPart, getPackageRelationship, newDocumentPart
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XDGFFactory

public XDGFFactory(XDGFDocument document)
Method Detail

getDescriptor

protected POIXMLRelation getDescriptor(java.lang.String relationshipType)
Description copied from class: POIXMLFactory
returns the descriptor for the given relationship type

Specified by:
getDescriptor in class POIXMLFactory
Returns:
the descriptor or null if type is unknown
Since:
POI 3.14-Beta1

createDocumentPart

protected POIXMLDocumentPart createDocumentPart(java.lang.Class<? extends POIXMLDocumentPart> cls,
                                                java.lang.Class<?>[] classes,
                                                java.lang.Object[] values)
                                         throws java.lang.SecurityException,
                                                java.lang.NoSuchMethodException,
                                                java.lang.InstantiationException,
                                                java.lang.IllegalAccessException,
                                                java.lang.reflect.InvocationTargetException
Description copied from class: POIXMLFactory
Need to delegate instantiation to sub class because of constructor visibility

Specified by:
createDocumentPart in class POIXMLFactory
Throws:
java.lang.SecurityException
java.lang.NoSuchMethodException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
Since:
POI 3.14-Beta1