public class XmlFactory extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ACCESS_EXTERNAL_DTD |
static String |
ACCESS_EXTERNAL_SCHEMA |
Constructor and Description |
---|
XmlFactory() |
Modifier and Type | Method and 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
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)
Copyright © 2019 JBoss by Red Hat. All rights reserved.