public abstract class Parser extends Object
Modifier and Type | Field and 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 and Description |
---|
Parser() |
Modifier and Type | Method and Description |
---|---|
abstract Parse |
createParse() |
protected void |
enableSchemaValidation(boolean enableSchemaValidation) |
protected SAXParser |
getSaxParser() |
protected SAXParserFactory |
getSaxParserFactoryLazily() |
Boolean |
isEnableXxeProcessing() |
protected void |
setXxeProcessing(SAXParserFactory saxParserFactory) |
protected static final EngineUtilLogger LOG
protected static final String EXTERNAL_GENERAL_ENTITIES
protected static final String DISALLOW_DOCTYPE_DECL
protected static final String LOAD_EXTERNAL_DTD
protected static final String EXTERNAL_PARAMETER_ENTITIES
protected static final String NAMESPACE_PREFIXES
protected static ThreadLocal<SAXParserFactory> SAX_PARSER_FACTORY_INSTANCE
public abstract Parse createParse()
protected SAXParserFactory getSaxParserFactoryLazily()
protected void enableSchemaValidation(boolean enableSchemaValidation)
protected void setXxeProcessing(SAXParserFactory saxParserFactory)
public Boolean isEnableXxeProcessing()
Copyright © 2022. All rights reserved.