Class Parser
- java.lang.Object
-
- org.camunda.bpm.engine.impl.util.xml.Parser
-
- Direct Known Subclasses:
BpmnParser
,BpmPlatformXmlParser
,ProcessesXmlParser
public abstract class Parser extends java.lang.Object
- Author:
- Tom Baeyens
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
DISALLOW_DOCTYPE_DECL
protected static java.lang.String
EXTERNAL_GENERAL_ENTITIES
protected static java.lang.String
EXTERNAL_PARAMETER_ENTITIES
protected static java.lang.String
LOAD_EXTERNAL_DTD
protected static EngineUtilLogger
LOG
protected static java.lang.String
NAMESPACE_PREFIXES
protected static java.lang.ThreadLocal<javax.xml.parsers.SAXParserFactory>
SAX_PARSER_FACTORY_INSTANCE
-
Constructor Summary
Constructors Constructor Description Parser()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Parse
createParse()
protected void
enableSchemaValidation(boolean enableSchemaValidation)
protected javax.xml.parsers.SAXParser
getSaxParser()
protected javax.xml.parsers.SAXParserFactory
getSaxParserFactoryLazily()
java.lang.Boolean
isEnableXxeProcessing()
protected void
setXxeProcessing(javax.xml.parsers.SAXParserFactory saxParserFactory)
-
-
-
Field Detail
-
LOG
protected static final EngineUtilLogger LOG
-
EXTERNAL_GENERAL_ENTITIES
protected static final java.lang.String EXTERNAL_GENERAL_ENTITIES
- See Also:
- Constant Field Values
-
DISALLOW_DOCTYPE_DECL
protected static final java.lang.String DISALLOW_DOCTYPE_DECL
- See Also:
- Constant Field Values
-
LOAD_EXTERNAL_DTD
protected static final java.lang.String LOAD_EXTERNAL_DTD
- See Also:
- Constant Field Values
-
EXTERNAL_PARAMETER_ENTITIES
protected static final java.lang.String EXTERNAL_PARAMETER_ENTITIES
- See Also:
- Constant Field Values
-
NAMESPACE_PREFIXES
protected static final java.lang.String NAMESPACE_PREFIXES
- See Also:
- Constant Field Values
-
SAX_PARSER_FACTORY_INSTANCE
protected static java.lang.ThreadLocal<javax.xml.parsers.SAXParserFactory> SAX_PARSER_FACTORY_INSTANCE
-
-
Method Detail
-
createParse
public abstract Parse createParse()
-
getSaxParser
protected javax.xml.parsers.SAXParser getSaxParser() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getSaxParserFactoryLazily
protected javax.xml.parsers.SAXParserFactory getSaxParserFactoryLazily()
-
enableSchemaValidation
protected void enableSchemaValidation(boolean enableSchemaValidation)
-
setXxeProcessing
protected void setXxeProcessing(javax.xml.parsers.SAXParserFactory saxParserFactory)
-
isEnableXxeProcessing
public java.lang.Boolean isEnableXxeProcessing()
-
-