|
||||||||||
| 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 Exception |
er
|
static Logger |
logger
|
| Constructor Summary | |
|---|---|
XmlFactory()
|
|
| Method Summary | |
|---|---|
static DocumentBuilderFactory |
createDocumentBuilderFactory(boolean disableSecureProcessing)
Returns properly configured (e.g. |
static SAXParserFactory |
createParserFactory(boolean disableSecureProcessing)
Returns properly configured (e.g. |
static SchemaFactory |
createSchemaFactory(String language,
boolean disableSecureProcessing)
Returns properly configured (e.g. |
static TransformerFactory |
createTransformerFactory(boolean disableSecureProcessing)
Returns properly configured (e.g. |
static XPathFactory |
createXPathFactory(boolean disableSecureProcessing)
Returns properly configured (e.g. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Logger logger
public static final boolean DISABLE_SECURE_PROCESSING
public static Exception er
| Constructor Detail |
|---|
public XmlFactory()
| Method Detail |
|---|
public static final SchemaFactory createSchemaFactory(String language,
boolean disableSecureProcessing)
throws IllegalStateException
IllegalStateException
public static final SAXParserFactory createParserFactory(boolean disableSecureProcessing)
throws IllegalStateException
IllegalStateException
public static final XPathFactory createXPathFactory(boolean disableSecureProcessing)
throws IllegalStateException
IllegalStateException
public static final TransformerFactory createTransformerFactory(boolean disableSecureProcessing)
throws IllegalStateException
IllegalStateException
public static final DocumentBuilderFactory createDocumentBuilderFactory(boolean disableSecureProcessing)
throws IllegalStateException
IllegalStateException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||