API Overview API Index Package Overview Direct link to this page
JDK 1.6
  org.xml.sax.helpers. DefaultHandler View Source
Author(s)
David Megginson,
Since
SAX 2.0
Version
2.0.1 (sax2r2)
Serial
Hierarchy
 Object
      DefaultHandler
Implements
 EntityResolver
 DTDHandler
 ContentHandler
 ErrorHandler
Subclasses
Description
public class DefaultHandler
  Default base class for SAX2 event handlers.
Constructors
public DefaultHandler ()
Methods
Hide/Show inherited methods
public void characters (char[] ch, int start, int length) throws SAXException [Specified in ContentHandler]
  Receive notification of character data inside an element.
public void endDocument () throws SAXException [Specified in ContentHandler]
  Receive notification of the end of the document.
public void endElement (String uri, String localName, String qName) throws SAXException [Specified in ContentHandler]
  Receive notification of the end of an element.
public void endPrefixMapping (String prefix) throws SAXException [Specified in ContentHandler]
  Receive notification of the end of a Namespace mapping.
public void error (SAXParseException e) throws SAXException [Specified in ErrorHandler]
  Receive notification of a recoverable parser error.
public void fatalError (SAXParseException e) throws SAXException [Specified in ErrorHandler]
  Report a fatal XML parsing error.
public void ignorableWhitespace (char[] ch, int start, int length) throws SAXException [Specified in ContentHandler]
  Receive notification of ignorable whitespace in element content.
public void notationDecl (String name, String publicId, String systemId) throws SAXException [Specified in DTDHandler]
  Receive notification of a notation declaration.
public void processingInstruction (String target, String data) throws SAXException [Specified in ContentHandler]
  Receive notification of a processing instruction.
public InputSource resolveEntity (String publicId, String systemId) throws IOException SAXException [Specified in EntityResolver]
  Resolve an external entity.
public void setDocumentLocator (Locator locator) [Specified in ContentHandler]
  Receive a Locator object for document events.
public void skippedEntity (String name) throws SAXException [Specified in ContentHandler]
  Receive notification of a skipped entity.
public void startDocument () throws SAXException [Specified in ContentHandler]
  Receive notification of the beginning of the document.
public void startElement (String uri, String localName, String qName, Attributes attributes) throws SAXException [Specified in ContentHandler]
  Receive notification of the start of an element.
public void startPrefixMapping (String prefix, String uri) throws SAXException [Specified in ContentHandler]
  Receive notification of the start of a Namespace mapping.
public void unparsedEntityDecl (String name, String publicId, String systemId, String notationName) throws SAXException [Specified in DTDHandler]
  Receive notification of an unparsed entity declaration.
public void warning (SAXParseException e) throws SAXException [Specified in ErrorHandler]
  Receive notification of a parser warning.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar