API Overview API Index Package Overview Direct link to this page
JDK 1.6
  org.xml.sax. XMLReader View Source
Author(s)
David Megginson
Since
SAX 2.0
Version
2.0.1+ (sax2r3pre1)
Serial
Hierarchy
 XMLReader
Subinterfaces
Description
public interface XMLReader
  Interface for reading an XML document using callbacks.
Methods
Hide/Show inherited methods
public ContentHandler getContentHandler ()
  Return the current content handler.
public DTDHandler getDTDHandler ()
  Return the current DTD handler.
public EntityResolver getEntityResolver ()
  Return the current entity resolver.
public ErrorHandler getErrorHandler ()
  Return the current error handler.
public boolean getFeature (String name) throws SAXNotRecognizedException SAXNotSupportedException
  Look up the value of a feature flag.
public Object getProperty (String name) throws SAXNotRecognizedException SAXNotSupportedException
  Look up the value of a property.
public void parse (InputSource input) throws IOException SAXException
  Parse an XML document.
public void parse (String systemId) throws IOException SAXException
  Parse an XML document from a system identifier (URI).
public void setContentHandler (ContentHandler handler)
  Allow an application to register a content event handler.
public void setDTDHandler (DTDHandler handler)
  Allow an application to register a DTD event handler.
public void setEntityResolver (EntityResolver resolver)
  Allow an application to register an entity resolver.
public void setErrorHandler (ErrorHandler handler)
  Allow an application to register an error event handler.
public void setFeature (String name, boolean value) throws SAXNotRecognizedException SAXNotSupportedException
  Set the value of a feature flag.
public void setProperty (String name, Object value) throws SAXNotRecognizedException SAXNotSupportedException
  Set the value of a property.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar