public final class XSLFFactory extends POIXMLFactory
Modifier and Type | Method and Description |
---|---|
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
|
static XSLFFactory |
getInstance() |
createDocumentPart, getPackageRelationship, newDocumentPart
public static XSLFFactory getInstance()
protected POIXMLRelation getDescriptor(java.lang.String relationshipType)
POIXMLFactory
getDescriptor
in class POIXMLFactory
relationshipType
- the relationship type of the descriptorprotected 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
POIXMLFactory
createDocumentPart
in class POIXMLFactory
cls
- the document class to be instantiatedclasses
- the classes of the constructor argumentsvalues
- the values of the constructor argumentsjava.lang.SecurityException
- thrown if the object can't be instantiatedjava.lang.NoSuchMethodException
- thrown if there is no constructor found for the given argumentsjava.lang.InstantiationException
- thrown if the object can't be instantiatedjava.lang.IllegalAccessException
- thrown if the object can't be instantiatedjava.lang.reflect.InvocationTargetException
- thrown if the object can't be instantiatedCopyright 2018 The Apache Software Foundation or its licensors, as applicable.