API Overview API Index Package Overview Direct link to this page
JDK 1.6
  org.xml.sax.helpers. XMLReaderAdapter View Source
Author(s)
David Megginson
Since
SAX 2.0
Version
2.0.1 (sax2r2)
Serial
Hierarchy
 Object
      XMLReaderAdapter
Implements
 Parser
 ContentHandler
Subclasses
Description
public class XMLReaderAdapter
  Adapt a SAX2 XMLReader as a SAX1 Parser.
See also:    Parser XMLReader
Constructors
public XMLReaderAdapter () throws SAXException
  Create a new adapter.
public XMLReaderAdapter (XMLReader xmlReader)
  Create a new adapter.
Methods
Hide/Show inherited methods
public void characters (char[] ch, int start, int length) throws SAXException [Specified in ContentHandler]
  Adapt a SAX2 characters event.
public void endDocument () throws SAXException [Specified in ContentHandler]
  End document event.
public void endElement (String uri, String localName, String qName) throws SAXException [Specified in ContentHandler]
  Adapt a SAX2 end element event.
public void endPrefixMapping (String prefix) [Specified in ContentHandler]
  Adapt a SAX2 end prefix mapping event.
public void ignorableWhitespace (char[] ch, int start, int length) throws SAXException [Specified in ContentHandler]
  Adapt a SAX2 ignorable whitespace event.
public void parse (InputSource input) throws IOException SAXException [Specified in Parser]
  Parse the document.
public void parse (String systemId) throws IOException SAXException [Specified in Parser]
  Parse the document.
public void processingInstruction (String target, String data) throws SAXException [Specified in ContentHandler]
  Adapt a SAX2 processing instruction event.
public void setDocumentHandler (DocumentHandler handler) [Specified in Parser]
  Register the SAX1 document event handler.
public void setDocumentLocator (Locator locator) [Specified in ContentHandler]
  Set a document locator.
public void setDTDHandler (DTDHandler handler) [Specified in Parser]
  Register the DTD event handler.
public void setEntityResolver (EntityResolver resolver) [Specified in Parser]
  Register the entity resolver.
public void setErrorHandler (ErrorHandler handler) [Specified in Parser]
  Register the error event handler.
public void setLocale (Locale locale) throws SAXException [Specified in Parser]
  Set the locale for error reporting.
public void skippedEntity (String name) throws SAXException [Specified in ContentHandler]
  Adapt a SAX2 skipped entity event.
public void startDocument () throws SAXException [Specified in ContentHandler]
  Start document event.
public void startElement (String uri, String localName, String qName, Attributes atts) throws SAXException [Specified in ContentHandler]
  Adapt a SAX2 start element event.
public void startPrefixMapping (String prefix, String uri) [Specified in ContentHandler]
  Adapt a SAX2 start prefix mapping event.
Fields
Hide/Show inherited fields
pack-private DocumentHandler documentHandler
pack-private AttributesAdapter qAtts
pack-private XMLReader xmlReader
Nested Classes
  XMLReaderAdapter.AttributesAdapter
Internal class to wrap a SAX2 Attributes object for SAX1.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar