FileDocCategorySizeDatePackage
ParserWrapper.javaAPI DocApache Xerces 3.0.12940Fri Sep 14 20:33:58 BST 2007dom

ParserWrapper

public interface ParserWrapper
Encapsulates a DOM parser.
version
$Id: ParserWrapper.java 447683 2006-09-19 02:36:31Z mrglavas $

Fields Summary
Constructors Summary
Methods Summary
public dom.ParserWrapper$DocumentInfogetDocumentInfo()
Returns the document information.

public org.w3c.dom.Documentparse(java.lang.String uri)
Parses the specified URI and returns the document.

public voidsetFeature(java.lang.String featureId, boolean state)
Set the state of a feature. Set the state of any feature in a SAX2 parser. The parser might not recognize the feature, and if it does recognize it, it might not be able to fulfill the request.

param
featureId The unique identifier (URI) of the feature.
param
state The requested state of the feature (true or false).
exception
org.xml.sax.SAXNotRecognizedException If the requested feature is not known.
exception
org.xml.sax.SAXNotSupportedException If the requested feature is known, but the requested state is not supported.
exception
org.xml.sax.SAXException If there is any other problem fulfilling the request.