org.apache.xerces.parsers

Class XMLParser

public abstract class XMLParser extends Object

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:

Version: $Id: XMLParser.java,v 1.10 2004/02/24 23:15:57 mrglavas Exp $

Author: Arnaud Le Hors, IBM Andy Clark, IBM

Field Summary
protected static StringENTITY_RESOLVER
Property identifier: entity resolver.
protected static StringERROR_HANDLER
Property identifier: error handler.
protected XMLParserConfigurationfConfiguration
The parser configuration.
Constructor Summary
protected XMLParser(XMLParserConfiguration config)
Default Constructor.
Method Summary
voidparse(XMLInputSource inputSource)
parse
protected voidreset()
reset all components before parsing

Field Detail

ENTITY_RESOLVER

protected static final String ENTITY_RESOLVER
Property identifier: entity resolver.

ERROR_HANDLER

protected static final String ERROR_HANDLER
Property identifier: error handler.

fConfiguration

protected XMLParserConfiguration fConfiguration
The parser configuration.

Constructor Detail

XMLParser

protected XMLParser(XMLParserConfiguration config)
Default Constructor.

Method Detail

parse

public void parse(XMLInputSource inputSource)
parse

Parameters: inputSource

Throws: XNIException java.io.IOException

reset

protected void reset()
reset all components before parsing
Copyright © 1999-2005 Apache XML Project. All Rights Reserved.