|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xml.bind.v2.util.XmlFactory
public class XmlFactory
Provides helper methods for creating properly configured XML parser factory instances with namespace support turned on and configured for security.
Field Summary | |
---|---|
static boolean |
DISABLE_SECURE_PROCESSING
|
static java.lang.Exception |
er
|
static java.util.logging.Logger |
logger
|
Constructor Summary | |
---|---|
XmlFactory()
|
Method Summary | |
---|---|
static javax.xml.parsers.DocumentBuilderFactory |
createDocumentBuilderFactory(boolean disableSecureProcessing)
Returns properly configured (e.g. |
static javax.xml.parsers.SAXParserFactory |
createParserFactory(boolean disableSecureProcessing)
Returns properly configured (e.g. |
static javax.xml.validation.SchemaFactory |
createSchemaFactory(java.lang.String language,
boolean disableSecureProcessing)
Returns properly configured (e.g. |
static javax.xml.transform.TransformerFactory |
createTransformerFactory(boolean disableSecureProcessing)
Returns properly configured (e.g. |
static javax.xml.xpath.XPathFactory |
createXPathFactory(boolean disableSecureProcessing)
Returns properly configured (e.g. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.util.logging.Logger logger
public static final boolean DISABLE_SECURE_PROCESSING
public static java.lang.Exception er
Constructor Detail |
---|
public XmlFactory()
Method Detail |
---|
public static final javax.xml.validation.SchemaFactory createSchemaFactory(java.lang.String language, boolean disableSecureProcessing) throws java.lang.IllegalStateException
java.lang.IllegalStateException
public static final javax.xml.parsers.SAXParserFactory createParserFactory(boolean disableSecureProcessing) throws java.lang.IllegalStateException
java.lang.IllegalStateException
public static final javax.xml.xpath.XPathFactory createXPathFactory(boolean disableSecureProcessing) throws java.lang.IllegalStateException
java.lang.IllegalStateException
public static final javax.xml.transform.TransformerFactory createTransformerFactory(boolean disableSecureProcessing) throws java.lang.IllegalStateException
java.lang.IllegalStateException
public static final javax.xml.parsers.DocumentBuilderFactory createDocumentBuilderFactory(boolean disableSecureProcessing) throws java.lang.IllegalStateException
java.lang.IllegalStateException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |