|
||||||||||
| 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 String |
ACCESS_EXTERNAL_DTD
|
static String |
ACCESS_EXTERNAL_SCHEMA
|
static boolean |
XML_SECURITY_DISABLED
|
| Constructor Summary | |
|---|---|
XmlFactory()
|
|
| Method Summary | |
|---|---|
static SchemaFactory |
allowExternalAccess(SchemaFactory sf,
String value,
boolean disableSecureProcessing)
|
static SchemaFactory |
allowExternalDTDAccess(SchemaFactory sf,
String value,
boolean disableSecureProcessing)
|
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 String ACCESS_EXTERNAL_SCHEMA
public static final String ACCESS_EXTERNAL_DTD
public static final boolean XML_SECURITY_DISABLED
| Constructor Detail |
|---|
public XmlFactory()
| Method Detail |
|---|
public static SchemaFactory createSchemaFactory(String language,
boolean disableSecureProcessing)
throws IllegalStateException
IllegalStateException
public static SAXParserFactory createParserFactory(boolean disableSecureProcessing)
throws IllegalStateException
IllegalStateException
public static XPathFactory createXPathFactory(boolean disableSecureProcessing)
throws IllegalStateException
IllegalStateException
public static TransformerFactory createTransformerFactory(boolean disableSecureProcessing)
throws IllegalStateException
IllegalStateException
public static DocumentBuilderFactory createDocumentBuilderFactory(boolean disableSecureProcessing)
throws IllegalStateException
IllegalStateException
public static SchemaFactory allowExternalAccess(SchemaFactory sf,
String value,
boolean disableSecureProcessing)
public static SchemaFactory allowExternalDTDAccess(SchemaFactory sf,
String value,
boolean disableSecureProcessing)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||