Class Parser
java.lang.Object
org.operaton.bpm.engine.impl.util.xml.Parser
- Direct Known Subclasses:
BpmnParser,BpmPlatformXmlParser,ProcessesXmlParser
- Author:
- Tom Baeyens
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Parseprotected SAXParserFactorycreateSaxParserFactory(@Nullable String schemaResource, boolean xxeProcessing) Creates a factory configured once for the given schema resource.protected SAXParsergetSaxParser(@Nullable String schemaResource) protected Schemaprotected static Stringprotected voidsetXxeProcessing(SAXParserFactory saxParserFactory, boolean enableXxeProcessing)
-
Field Details
-
LOG
-
EXTERNAL_GENERAL_ENTITIES
- See Also:
-
DISALLOW_DOCTYPE_DECL
- See Also:
-
LOAD_EXTERNAL_DTD
- See Also:
-
EXTERNAL_PARAMETER_ENTITIES
- See Also:
-
NAMESPACE_PREFIXES
- See Also:
-
JAXP_ACCESS_EXTERNAL_SCHEMA_SYSTEM_PROPERTY
- See Also:
-
JAXP_ACCESS_EXTERNAL_SCHEMA_ALL
- See Also:
-
-
Constructor Details
-
Parser
public Parser()
-
-
Method Details
-
createParse
-
getSaxParser
protected SAXParser getSaxParser(@Nullable String schemaResource) throws ParserConfigurationException, SAXException -
createSaxParserFactory
protected SAXParserFactory createSaxParserFactory(@Nullable String schemaResource, boolean xxeProcessing) Creates a factory configured once for the given schema resource. When no schema resource is given the factory is neither validating nor namespace aware, which reproduces the behaviour ofenableSchemaValidation(false). -
getSchema
-
resolveAccessExternalSchemaProperty
-
setXxeProcessing
-
isEnableXxeProcessing
-