| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| public static final String | |
| private static final String | |
| private static final String | |
| private static final boolean | XML_SECURITY_DISABLED
If true XML security features when parsing XML documents will be disabled. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static SchemaFactory | |
| public static TransformerFactory | |
| public static DocumentBuilderFactory | |
| public static XMLReader | |
| public static SchemaFactory | |
| public static DocumentBuilderFactory | |
| public static XMLReader | |
| public static DocumentBuilderFactory | createDocumentBuilderFactory(boolean disableSecureProcessing)
Returns properly configured (e.g. security features) factory - namespaceAware == true - securityProcessing == is set based on security processing property, default is true |
| public static SAXParserFactory | createParserFactory(boolean disableSecureProcessing)
Returns properly configured (e.g. security features) parser factory - namespaceAware == true - securityProcessing == is set based on security processing property, default is true |
| public static SchemaFactory | createSchemaFactory(final String language, boolean disableSecureProcessing)
Returns properly configured (e.g. security features) schema factory - namespaceAware == true - securityProcessing == is set based on security processing property, default is true |
| public static TransformerFactory | createTransformerFactory(boolean disableSecureProcessing)
Returns properly configured (e.g. security features) factory - securityProcessing == is set based on security processing property, default is true |
| public static XPathFactory | createXPathFactory(boolean disableSecureProcessing)
Returns properly configured (e.g. security features) factory - securityProcessing == is set based on security processing property, default is true |
| private static boolean |
| ACCESS_EXTERNAL_DTD | back to summary |
|---|---|
| public static final String ACCESS_EXTERNAL_DTD | |
| ACCESS_EXTERNAL_SCHEMA | back to summary |
|---|---|
| public static final String ACCESS_EXTERNAL_SCHEMA | |
| PROP_ACCESS_EXTERNAL_DTD | back to summary |
|---|---|
| private static final String PROP_ACCESS_EXTERNAL_DTD | |
| PROP_ACCESS_EXTERNAL_SCHEMA | back to summary |
|---|---|
| private static final String PROP_ACCESS_EXTERNAL_SCHEMA | |
| XML_SECURITY_DISABLED | back to summary |
|---|---|
| private static final boolean XML_SECURITY_DISABLED If true XML security features when parsing XML documents will be disabled. The default value is false. Boolean
| |
| XMLHelper | back to summary |
|---|---|
| public XMLHelper() | |
| allowExternalAccess | back to summary |
|---|---|
| public static SchemaFactory allowExternalAccess(SchemaFactory sf, String value, boolean disableSecureProcessing) | |
| allowExternalAccess | back to summary |
|---|---|
| public static TransformerFactory allowExternalAccess(TransformerFactory tf, String value, boolean disableSecureProcessing) | |
| allowExternalAccess | back to summary |
|---|---|
| public static DocumentBuilderFactory allowExternalAccess(DocumentBuilderFactory dbf, String value, boolean disableSecureProcessing) | |
| allowExternalAccess | back to summary |
|---|---|
| public static XMLReader allowExternalAccess(XMLReader xmlReader, String value, boolean disableSecureProcessing) | |
| allowExternalDTDAccess | back to summary |
|---|---|
| public static SchemaFactory allowExternalDTDAccess(SchemaFactory sf, String value, boolean disableSecureProcessing) | |
| allowExternalDTDAccess | back to summary |
|---|---|
| public static DocumentBuilderFactory allowExternalDTDAccess(DocumentBuilderFactory dbf, String value, boolean disableSecureProcessing) | |
| allowExternalDTDAccess | back to summary |
|---|---|
| public static XMLReader allowExternalDTDAccess(XMLReader xmlReader, String value, boolean disableSecureProcessing) | |
| createDocumentBuilderFactory | back to summary |
|---|---|
| public static DocumentBuilderFactory createDocumentBuilderFactory(boolean disableSecureProcessing) throws IllegalStateException Returns properly configured (e.g. security features) factory - namespaceAware == true - securityProcessing == is set based on security processing property, default is true | |
| createParserFactory | back to summary |
|---|---|
| public static SAXParserFactory createParserFactory(boolean disableSecureProcessing) throws IllegalStateException Returns properly configured (e.g. security features) parser factory - namespaceAware == true - securityProcessing == is set based on security processing property, default is true | |
| createSchemaFactory | back to summary |
|---|---|
| public static SchemaFactory createSchemaFactory(final String language, boolean disableSecureProcessing) throws IllegalStateException Returns properly configured (e.g. security features) schema factory - namespaceAware == true - securityProcessing == is set based on security processing property, default is true | |
| createTransformerFactory | back to summary |
|---|---|
| public static TransformerFactory createTransformerFactory(boolean disableSecureProcessing) throws IllegalStateException Returns properly configured (e.g. security features) factory - securityProcessing == is set based on security processing property, default is true | |
| createXPathFactory | back to summary |
|---|---|
| public static XPathFactory createXPathFactory(boolean disableSecureProcessing) throws IllegalStateException Returns properly configured (e.g. security features) factory - securityProcessing == is set based on security processing property, default is true | |
| isXMLSecurityDisabled | back to summary |
|---|---|
| private static boolean isXMLSecurityDisabled(boolean runtimeSetting) | |