Top Description Fields Constructors Methods
org.apache.xerces.parsers

public abstract Class XMLParser

extends Object
Class Inheritance
Known Direct Subclasses
org.apache.xerces.parsers.AbstractXMLDocumentParser, org.apache.xerces.parsers.XMLGrammarParser
Imports
java.io.IOException, org.apache.xerces.impl.Constants, org.apache.xerces.xni.XNIException, org.apache.xerces.xni.parser.XMLInputSource, .XMLParserConfiguration

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:

Authors
Arnaud Le Hors, IBM, Andy Clark, IBM
Version
$Id: XMLParser.java 699985 2008-09-29 04:29:03Z mrglavas $

Field Summary

Modifier and TypeField and Description
protected static final String
ENTITY_RESOLVER

Property identifier: entity resolver.

protected static final String
ERROR_HANDLER

Property identifier: error handler.

protected final XMLParserConfiguration
fConfiguration

The parser configuration.

private static final String[]
RECOGNIZED_PROPERTIES

Recognized properties.

Constructor Summary

AccessConstructor and Description
protected
XMLParser(XMLParserConfiguration config)

Default Constructor.

Method Summary

Modifier and TypeMethod and Description
public void
parse(XMLInputSource inputSource)

parse

protected void
reset()

reset all components before parsing

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

ENTITY_RESOLVERback to summary
protected static final String ENTITY_RESOLVER

Property identifier: entity resolver.

ERROR_HANDLERback to summary
protected static final String ERROR_HANDLER

Property identifier: error handler.

fConfigurationback to summary
protected final XMLParserConfiguration fConfiguration

The parser configuration.

RECOGNIZED_PROPERTIESback to summary
private static final String[] RECOGNIZED_PROPERTIES

Recognized properties.

Constructor Detail

XMLParserback to summary
protected XMLParser(XMLParserConfiguration config)

Default Constructor.

Method Detail

parseback to summary
public void parse(XMLInputSource inputSource) throws XNIException, IOException

parse

resetback to summary
protected void reset() throws XNIException

reset all components before parsing