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