| Modifier and Type | Field and Description |
|---|---|
| private static final String | DISABLE_XML_SECURITY
If true XML security features when parsing XML documents will be disabled. |
| private static final Logger | |
| private static final Map | |
| private static final boolean |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static TransformerFactory | Returns: TransformerFactory new instancedisable secure processing in TransformerFactory disableSecureProcessing)Internal method: returns properly configured (e.g., security features) factory - securityProcessing == is set based on security processing property, default is true |
| public static SchemaFactory | |
| public static SchemaFactory | |
| 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 | Returns: TransformerFactory new instancedisable secure processing in TransformerFactory disableSecureProcessing)Returns properly configured (e.g., security features) factory - securityProcessing == is set based on security processing property, default is true |
| public static TransformerFactory | Returns: TransformerFactory new instance or cached one if useCache is true and found in cachedisable secure processing in TransformerFactory disableSecureProcessing, boolean use cached instances of TransformerFactory, false will always create new ones useCache)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 |
| DISABLE_XML_SECURITY | back to summary |
|---|---|
| private static final String DISABLE_XML_SECURITY If true XML security features when parsing XML documents will be disabled. The default value is false. Boolean
| |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| transformerFactoryCache | back to summary |
|---|---|
| private static final Map<Boolean, SoftReference<TransformerFactory>> transformerFactoryCache | |
| XML_SECURITY_DISABLED | back to summary |
|---|---|
| private static final boolean XML_SECURITY_DISABLED | |
| XmlFactory | back to summary |
|---|---|
| private XmlFactory() | |
| _createTransformerFactory | back to summary |
|---|---|
| private static TransformerFactory _createTransformerFactory(boolean disableSecureProcessing) throws IllegalStateException Internal method: returns properly configured (e.g., security features) factory - securityProcessing == is set based on security processing property, default is true
| |
| allowExternalAccess | back to summary |
|---|---|
| public static SchemaFactory allowExternalAccess(SchemaFactory sf, String value, boolean disableSecureProcessing) | |
| allowExternalDTDAccess | back to summary |
|---|---|
| public static SchemaFactory allowExternalDTDAccess(SchemaFactory sf, 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
| |
| createTransformerFactory | back to summary |
|---|---|
| public static TransformerFactory createTransformerFactory(boolean disableSecureProcessing, boolean useCache) 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) | |