public class XMLHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACCESS_EXTERNAL_DTD |
static java.lang.String |
ACCESS_EXTERNAL_SCHEMA |
Constructor and Description |
---|
XMLHelper() |
Modifier and Type | Method and Description |
---|---|
static javax.xml.parsers.DocumentBuilderFactory |
allowExternalAccess(javax.xml.parsers.DocumentBuilderFactory dbf,
java.lang.String value,
boolean disableSecureProcessing) |
static javax.xml.validation.SchemaFactory |
allowExternalAccess(javax.xml.validation.SchemaFactory sf,
java.lang.String value,
boolean disableSecureProcessing) |
static javax.xml.transform.TransformerFactory |
allowExternalAccess(javax.xml.transform.TransformerFactory tf,
java.lang.String value,
boolean disableSecureProcessing) |
static XMLReader |
allowExternalAccess(XMLReader xmlReader,
java.lang.String value,
boolean disableSecureProcessing) |
static javax.xml.parsers.DocumentBuilderFactory |
allowExternalDTDAccess(javax.xml.parsers.DocumentBuilderFactory dbf,
java.lang.String value,
boolean disableSecureProcessing) |
static javax.xml.validation.SchemaFactory |
allowExternalDTDAccess(javax.xml.validation.SchemaFactory sf,
java.lang.String value,
boolean disableSecureProcessing) |
static XMLReader |
allowExternalDTDAccess(XMLReader xmlReader,
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.IllegalStateException
public static javax.xml.parsers.SAXParserFactory createParserFactory(boolean disableSecureProcessing) throws java.lang.IllegalStateException
java.lang.IllegalStateException
public static javax.xml.xpath.XPathFactory createXPathFactory(boolean disableSecureProcessing) throws java.lang.IllegalStateException
java.lang.IllegalStateException
public static javax.xml.transform.TransformerFactory createTransformerFactory(boolean disableSecureProcessing) throws java.lang.IllegalStateException
java.lang.IllegalStateException
public static javax.xml.parsers.DocumentBuilderFactory createDocumentBuilderFactory(boolean disableSecureProcessing) throws java.lang.IllegalStateException
java.lang.IllegalStateException
public static javax.xml.validation.SchemaFactory allowExternalAccess(javax.xml.validation.SchemaFactory sf, java.lang.String value, boolean disableSecureProcessing)
public static javax.xml.transform.TransformerFactory allowExternalAccess(javax.xml.transform.TransformerFactory tf, java.lang.String value, boolean disableSecureProcessing)
public static javax.xml.parsers.DocumentBuilderFactory allowExternalAccess(javax.xml.parsers.DocumentBuilderFactory dbf, java.lang.String value, boolean disableSecureProcessing)
public static XMLReader allowExternalAccess(XMLReader xmlReader, java.lang.String value, boolean disableSecureProcessing)
public static javax.xml.validation.SchemaFactory allowExternalDTDAccess(javax.xml.validation.SchemaFactory sf, java.lang.String value, boolean disableSecureProcessing)
public static javax.xml.parsers.DocumentBuilderFactory allowExternalDTDAccess(javax.xml.parsers.DocumentBuilderFactory dbf, java.lang.String value, boolean disableSecureProcessing)
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference