Class Parser

    • Field Detail

      • 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
    • Constructor Detail

      • Parser

        public Parser()
    • 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()