API Overview API Index Package Overview Direct link to this page
JDK 1.6
  org.xml.sax.ext. DefaultHandler2 View Source
Author(s)
David Brownell
Since
SAX 2.0 (extensions 1.1 alpha)
Version
TBS
Serial
Hierarchy
 Object
      DefaultHandler
          DefaultHandler2
Implements
 LexicalHandler
 DeclHandler
 EntityResolver2
Subclasses
Description
public class DefaultHandler2
  This class extends the SAX2 base handler class to support the SAX2 LexicalHandler, DeclHandler, and EntityResolver2 extensions.
See also:   
Constructors
public DefaultHandler2 ()
Constructs a handler which ignores all parsing events.
Methods
Hide/Show inherited methods
public void attributeDecl (String eName, String aName, String type, String mode, String value) throws SAXException [Specified in DeclHandler]
public void characters (char[] ch, int start, int length) throws SAXException [Inherited From DefaultHandler]
  Receive notification of character data inside an element.
public void comment (char[] ch, int start, int length) throws SAXException [Specified in LexicalHandler]
public void elementDecl (String name, String model) throws SAXException [Specified in DeclHandler]
public void endCDATA () throws SAXException [Specified in LexicalHandler]
public void endDocument () throws SAXException [Inherited From DefaultHandler]
  Receive notification of the end of the document.
public void endDTD () throws SAXException [Specified in LexicalHandler]
public void endElement (String uri, String localName, String qName) throws SAXException [Inherited From DefaultHandler]
  Receive notification of the end of an element.
public void endEntity (String name) throws SAXException [Specified in LexicalHandler]
public void endPrefixMapping (String prefix) throws SAXException [Inherited From DefaultHandler]
  Receive notification of the end of a Namespace mapping.
public void error (SAXParseException e) throws SAXException [Inherited From DefaultHandler]
  Receive notification of a recoverable parser error.
public void externalEntityDecl (String name, String publicId, String systemId) throws SAXException [Specified in DeclHandler]
public void fatalError (SAXParseException e) throws SAXException [Inherited From DefaultHandler]
  Report a fatal XML parsing error.
public InputSource getExternalSubset (String name, String baseURI) throws SAXException IOException [Specified in EntityResolver2]
Tells the parser that if no external subset has been declared in the document text, none should be used.
public void ignorableWhitespace (char[] ch, int start, int length) throws SAXException [Inherited From DefaultHandler]
  Receive notification of ignorable whitespace in element content.
public void internalEntityDecl (String name, String value) throws SAXException [Specified in DeclHandler]
public void notationDecl (String name, String publicId, String systemId) throws SAXException [Inherited From DefaultHandler]
  Receive notification of a notation declaration.
public void processingInstruction (String target, String data) throws SAXException [Inherited From DefaultHandler]
  Receive notification of a processing instruction.
public InputSource resolveEntity (String publicId, String systemId) throws SAXException IOException [Overrides DefaultHandler]
  Invokes EntityResolver2.resolveEntity() with null entity name and base URI.
public InputSource resolveEntity (String name, String publicId, String baseURI, String systemId) throws SAXException IOException [Specified in EntityResolver2]
  Tells the parser to resolve the systemId against the baseURI and read the entity text from that resulting absolute URI.
public void setDocumentLocator (Locator locator) [Inherited From DefaultHandler]
  Receive a Locator object for document events.
public void skippedEntity (String name) throws SAXException [Inherited From DefaultHandler]
  Receive notification of a skipped entity.
public void startCDATA () throws SAXException [Specified in LexicalHandler]
public void startDocument () throws SAXException [Inherited From DefaultHandler]
  Receive notification of the beginning of the document.
public void startDTD (String name, String publicId, String systemId) throws SAXException [Specified in LexicalHandler]
public void startElement (String uri, String localName, String qName, Attributes attributes) throws SAXException [Inherited From DefaultHandler]
  Receive notification of the start of an element.
public void startEntity (String name) throws SAXException [Specified in LexicalHandler]
public void startPrefixMapping (String prefix, String uri) throws SAXException [Inherited From DefaultHandler]
  Receive notification of the start of a Namespace mapping.
public void unparsedEntityDecl (String name, String publicId, String systemId, String notationName) throws SAXException [Inherited From DefaultHandler]
  Receive notification of an unparsed entity declaration.
public void warning (SAXParseException e) throws SAXException [Inherited From DefaultHandler]
  Receive notification of a parser warning.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar