Package org.apache.xerces.parsers
Class XMLParser
java.lang.Object
org.apache.xerces.parsers.XMLParser
- Direct Known Subclasses:
AbstractXMLDocumentParser
,XMLGrammarParser
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
- Version:
- $Id: XMLParser.java 699985 2008-09-29 04:29:03Z mrglavas $
- Author:
- Arnaud Le Hors, IBM, Andy Clark, IBM
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
XMLParser
(org.apache.xerces.xni.parser.XMLParserConfiguration config) Default Constructor. -
Method Summary
-
Field Details
-
ENTITY_RESOLVER
Property identifier: entity resolver.- See Also:
-
ERROR_HANDLER
Property identifier: error handler.- See Also:
-
fConfiguration
protected final org.apache.xerces.xni.parser.XMLParserConfiguration fConfigurationThe parser configuration.
-
-
Constructor Details
-
XMLParser
protected XMLParser(org.apache.xerces.xni.parser.XMLParserConfiguration config) Default Constructor.
-
-
Method Details
-
parse
public void parse(org.apache.xerces.xni.parser.XMLInputSource inputSource) throws org.apache.xerces.xni.XNIException, IOException parse- Parameters:
inputSource
-- Throws:
org.apache.xerces.xni.XNIException
IOException
-
reset
protected void reset() throws org.apache.xerces.xni.XNIExceptionreset all components before parsing- Throws:
org.apache.xerces.xni.XNIException
-