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