public class XmlFactory extends Object
| Modifier and Type | Field | Description |
|---|---|---|
static String |
ACCESS_EXTERNAL_DTD |
|
static String |
ACCESS_EXTERNAL_SCHEMA |
| Constructor | Description |
|---|---|
XmlFactory() |
| Modifier and Type | Method | Description |
|---|---|---|
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.
|
public static final String ACCESS_EXTERNAL_SCHEMA
public static final String ACCESS_EXTERNAL_DTD
public static SchemaFactory createSchemaFactory(String language, boolean disableSecureProcessing) throws IllegalStateException
IllegalStateExceptionpublic static SAXParserFactory createParserFactory(boolean disableSecureProcessing) throws IllegalStateException
IllegalStateExceptionpublic static XPathFactory createXPathFactory(boolean disableSecureProcessing) throws IllegalStateException
IllegalStateExceptionpublic static TransformerFactory createTransformerFactory(boolean disableSecureProcessing) throws IllegalStateException
IllegalStateExceptionpublic static DocumentBuilderFactory createDocumentBuilderFactory(boolean disableSecureProcessing) throws IllegalStateException
IllegalStateExceptionpublic static SchemaFactory allowExternalAccess(SchemaFactory sf, String value, boolean disableSecureProcessing)
public static SchemaFactory allowExternalDTDAccess(SchemaFactory sf, String value, boolean disableSecureProcessing)
Copyright © 2018 Oracle Corporation. All rights reserved.