java.lang.Object
com.sun.xml.wss.WSITXMLFactory
- Author:
- Nithya Subramanian Class to invoke secure XML Factory methods. TODO: Refactor this code to istack-commons, Replica of XMLFactory in JAXB internal
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final DocumentBuilderFactorycreateDocumentBuilderFactory(boolean disableSecureProcessing) Returns properly configured (e.g.static final SAXParserFactorycreateParserFactory(boolean disableSecureProcessing) Returns properly configured (e.g.static final SchemaFactorycreateSchemaFactory(String language, boolean disableSecureProcessing) Returns properly configured (e.g.static final TransformerFactorycreateTransformerFactory(boolean disableSecureProcessing) Returns properly configured (e.g.static final XPathFactorycreateXPathFactory(boolean disableSecureProcessing) Returns properly configured (e.g.
-
Field Details
-
DISABLE_SECURE_PROCESSING
public static final boolean DISABLE_SECURE_PROCESSING
-
-
Constructor Details
-
WSITXMLFactory
public WSITXMLFactory()
-
-
Method Details
-
createSchemaFactory
public static final SchemaFactory createSchemaFactory(String language, boolean disableSecureProcessing) throws IllegalArgumentException Returns properly configured (e.g. security features) schema factory - namespaceAware == true - securityProcessing == is set based on security processing property, default is true- Throws:
IllegalArgumentException
-
createParserFactory
public static final SAXParserFactory createParserFactory(boolean disableSecureProcessing) throws IllegalArgumentException Returns properly configured (e.g. security features) parser factory - namespaceAware == true - securityProcessing == is set based on security processing property, default is true- Throws:
IllegalArgumentException
-
createXPathFactory
public static final XPathFactory createXPathFactory(boolean disableSecureProcessing) throws IllegalArgumentException Returns properly configured (e.g. security features) factory - securityProcessing == is set based on security processing property, default is true- Throws:
IllegalArgumentException
-
createTransformerFactory
public static final TransformerFactory createTransformerFactory(boolean disableSecureProcessing) throws IllegalArgumentException Returns properly configured (e.g. security features) factory - securityProcessing == is set based on security processing property, default is true- Throws:
IllegalArgumentException
-
createDocumentBuilderFactory
public static final DocumentBuilderFactory createDocumentBuilderFactory(boolean disableSecureProcessing) throws IllegalStateException Returns properly configured (e.g. security features) factory - namespaceAware == true - securityProcessing == is set based on security processing property, default is true- Throws:
IllegalStateException
-