Class XMLParser
java.lang.Object
org.htmlunit.cyberneko.xerces.parsers.XMLParser
- Direct Known Subclasses:
AbstractXMLDocumentParser
Base class of all XML-related parsers.
In addition to the features and properties recognized by the parser configuration, this parser recognizes these additional features and properties:
- Properties
- http://apache.org/xml/properties/internal/error-handler
- http://apache.org/xml/properties/internal/entity-resolver
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final String
Property identifier: error handler.protected final XMLParserConfiguration
The parser configuration.private static final String[]
Recognized properties. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
parse
(XMLInputSource inputSource) Parse.protected void
reset()
reset all components before parsing
-
Field Details
-
ERROR_HANDLER
Property identifier: error handler.- See Also:
-
RECOGNIZED_PROPERTIES
Recognized properties. -
parserConfiguration_
The parser configuration.
-
-
Constructor Details
-
XMLParser
-
-
Method Details
-
parse
Parse.- Parameters:
inputSource
- the input source- Throws:
XNIException
- on errorIOException
- on error
-
reset
reset all components before parsing- Throws:
XNIException
-