public final class XSLFFactory extends POIXMLFactory
| Modifier and Type | Method and Description |
|---|---|
protected POIXMLDocumentPart |
createDocumentPart(Class<? extends POIXMLDocumentPart> cls,
Class<?>[] classes,
Object[] values)
Need to delegate instantiation to sub class because of constructor visibility
|
protected POIXMLRelation |
getDescriptor(String relationshipType)
returns the descriptor for the given relationship type
|
static XSLFFactory |
getInstance() |
createDocumentPart, getPackageRelationship, newDocumentPartpublic static XSLFFactory getInstance()
protected POIXMLRelation getDescriptor(String relationshipType)
POIXMLFactorygetDescriptor in class POIXMLFactoryrelationshipType - the relationship type of the descriptorprotected POIXMLDocumentPart createDocumentPart(Class<? extends POIXMLDocumentPart> cls, Class<?>[] classes, Object[] values) throws SecurityException, NoSuchMethodException, InstantiationException, IllegalAccessException, InvocationTargetException
POIXMLFactorycreateDocumentPart in class POIXMLFactorycls - the document class to be instantiatedclasses - the classes of the constructor argumentsvalues - the values of the constructor argumentsSecurityException - thrown if the object can't be instantiatedNoSuchMethodException - thrown if there is no constructor found for the given argumentsInstantiationException - thrown if the object can't be instantiatedIllegalAccessException - thrown if the object can't be instantiatedInvocationTargetException - thrown if the object can't be instantiatedCopyright 2018 The Apache Software Foundation or its licensors, as applicable.