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 StringProperty identifier: error handler.protected final XMLParserConfigurationThe parser configuration.private static final String[]Recognized properties. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidparse(XMLInputSource inputSource) Parse.protected voidreset()reset all components before parsing
-
Field Details
-
ERROR_HANDLER
-
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
-