Package com.sun.xml.wss
Class WSITXMLFactory
- java.lang.Object
-
- com.sun.xml.wss.WSITXMLFactory
-
public class WSITXMLFactory extends Object
- 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 Modifier and Type Field Description static booleanDISABLE_SECURE_PROCESSING
-
Constructor Summary
Constructors Constructor Description WSITXMLFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DocumentBuilderFactorycreateDocumentBuilderFactory(boolean disableSecureProcessing)Returns properly configured (e.g.static SAXParserFactorycreateParserFactory(boolean disableSecureProcessing)Returns properly configured (e.g.static SchemaFactorycreateSchemaFactory(String language, boolean disableSecureProcessing)Returns properly configured (e.g.static TransformerFactorycreateTransformerFactory(boolean disableSecureProcessing)Returns properly configured (e.g.static XPathFactorycreateXPathFactory(boolean disableSecureProcessing)Returns properly configured (e.g.
-
-
-
Method Detail
-
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
-
-