org.xml.sax.helpers
Class DefaultHandler

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by org.xml.sax.helpers.DefaultHandler
All Implemented Interfaces:
ContentHandler sample code for org.xml.sax.ContentHandler definition code for org.xml.sax.ContentHandler , DTDHandler sample code for org.xml.sax.DTDHandler definition code for org.xml.sax.DTDHandler , EntityResolver sample code for org.xml.sax.EntityResolver definition code for org.xml.sax.EntityResolver , ErrorHandler sample code for org.xml.sax.ErrorHandler definition code for org.xml.sax.ErrorHandler
Direct Known Subclasses:
DefaultHandler2 sample code for org.xml.sax.ext.DefaultHandler2 definition code for org.xml.sax.ext.DefaultHandler2

public class DefaultHandler
extends Object sample code for java.lang.Object definition code for java.lang.Object
implements EntityResolver sample code for org.xml.sax.EntityResolver definition code for org.xml.sax.EntityResolver , DTDHandler sample code for org.xml.sax.DTDHandler definition code for org.xml.sax.DTDHandler , ContentHandler sample code for org.xml.sax.ContentHandler definition code for org.xml.sax.ContentHandler , ErrorHandler sample code for org.xml.sax.ErrorHandler definition code for org.xml.sax.ErrorHandler

Default base class for SAX2 event handlers.

This module, both source code and documentation, is in the Public Domain, and comes with NO WARRANTY. See http://www.saxproject.org for further information.

This class is available as a convenience base class for SAX2 applications: it provides default implementations for all of the callbacks in the four core SAX2 handler classes:

Application writers can extend this class when they need to implement only part of an interface; parser writers can instantiate this class to provide default handlers when the application has not supplied its own.

This class replaces the deprecated SAX1 HandlerBase sample code for org.xml.sax.HandlerBase definition code for org.xml.sax.HandlerBase class.

Since:
SAX 2.0
See Also:
EntityResolver sample code for org.xml.sax.EntityResolver definition code for org.xml.sax.EntityResolver , DTDHandler sample code for org.xml.sax.DTDHandler definition code for org.xml.sax.DTDHandler , ContentHandler sample code for org.xml.sax.ContentHandler definition code for org.xml.sax.ContentHandler , ErrorHandler sample code for org.xml.sax.ErrorHandler definition code for org.xml.sax.ErrorHandler

Constructor Summary
DefaultHandler sample code for org.xml.sax.helpers.DefaultHandler.DefaultHandler() definition code for org.xml.sax.helpers.DefaultHandler.DefaultHandler() ()
           
 
Method Summary
 void characters sample code for org.xml.sax.helpers.DefaultHandler.characters(char[], int, int) definition code for org.xml.sax.helpers.DefaultHandler.characters(char[], int, int) (char[] ch, int start, int length)
          Receive notification of character data inside an element.
 void endDocument sample code for org.xml.sax.helpers.DefaultHandler.endDocument() definition code for org.xml.sax.helpers.DefaultHandler.endDocument() ()
          Receive notification of the end of the document.
 void endElement sample code for org.xml.sax.helpers.DefaultHandler.endElement(java.lang.String, java.lang.String, java.lang.String) definition code for org.xml.sax.helpers.DefaultHandler.endElement(java.lang.String, java.lang.String, java.lang.String) (String sample code for java.lang.String definition code for java.lang.String  uri, String sample code for java.lang.String definition code for java.lang.String  localName, String sample code for java.lang.String definition code for java.lang.String  qName)
          Receive notification of the end of an element.
 void endPrefixMapping sample code for org.xml.sax.helpers.DefaultHandler.endPrefixMapping(java.lang.String) definition code for org.xml.sax.helpers.DefaultHandler.endPrefixMapping(java.lang.String) (String sample code for java.lang.String definition code for java.lang.String  prefix)
          Receive notification of the end of a Namespace mapping.
 void error sample code for org.xml.sax.helpers.DefaultHandler.error(org.xml.sax.SAXParseException) definition code for org.xml.sax.helpers.DefaultHandler.error(org.xml.sax.SAXParseException) (SAXParseException sample code for org.xml.sax.SAXParseException definition code for org.xml.sax.SAXParseException  e)
          Receive notification of a recoverable parser error.
 void fatalError sample code for org.xml.sax.helpers.DefaultHandler.fatalError(org.xml.sax.SAXParseException) definition code for org.xml.sax.helpers.DefaultHandler.fatalError(org.xml.sax.SAXParseException) (SAXParseException sample code for org.xml.sax.SAXParseException definition code for org.xml.sax.SAXParseException  e)
          Report a fatal XML parsing error.
 void ignorableWhitespace sample code for org.xml.sax.helpers.DefaultHandler.ignorableWhitespace(char[], int, int) definition code for org.xml.sax.helpers.DefaultHandler.ignorableWhitespace(char[], int, int) (char[] ch, int start, int length)
          Receive notification of ignorable whitespace in element content.
 void notationDecl sample code for org.xml.sax.helpers.DefaultHandler.notationDecl(java.lang.String, java.lang.String, java.lang.String) definition code for org.xml.sax.helpers.DefaultHandler.notationDecl(java.lang.String, java.lang.String, java.lang.String) (String sample code for java.lang.String definition code for java.lang.String  name, String sample code for java.lang.String definition code for java.lang.String  publicId, String sample code for java.lang.String definition code for java.lang.String  systemId)
          Receive notification of a notation declaration.
 void processingInstruction sample code for org.xml.sax.helpers.DefaultHandler.processingInstruction(java.lang.String, java.lang.String) definition code for org.xml.sax.helpers.DefaultHandler.processingInstruction(java.lang.String, java.lang.String) (String sample code for java.lang.String definition code for java.lang.String  target, String sample code for java.lang.String definition code for java.lang.String  data)
          Receive notification of a processing instruction.
 InputSource sample code for org.xml.sax.InputSource definition code for org.xml.sax.InputSource resolveEntity sample code for org.xml.sax.helpers.DefaultHandler.resolveEntity(java.lang.String, java.lang.String) definition code for org.xml.sax.helpers.DefaultHandler.resolveEntity(java.lang.String, java.lang.String) (String sample code for java.lang.String definition code for java.lang.String  publicId, String sample code for java.lang.String definition code for java.lang.String  systemId)
          Resolve an external entity.
 void setDocumentLocator sample code for org.xml.sax.helpers.DefaultHandler.setDocumentLocator(org.xml.sax.Locator) definition code for org.xml.sax.helpers.DefaultHandler.setDocumentLocator(org.xml.sax.Locator) (Locator sample code for org.xml.sax.Locator definition code for org.xml.sax.Locator  locator)
          Receive a Locator object for document events.
 void skippedEntity sample code for org.xml.sax.helpers.DefaultHandler.skippedEntity(java.lang.String) definition code for org.xml.sax.helpers.DefaultHandler.skippedEntity(java.lang.String) (String sample code for java.lang.String definition code for java.lang.String  name)
          Receive notification of a skipped entity.
 void startDocument sample code for org.xml.sax.helpers.DefaultHandler.startDocument() definition code for org.xml.sax.helpers.DefaultHandler.startDocument() ()
          Receive notification of the beginning of the document.
 void startElement sample code for org.xml.sax.helpers.DefaultHandler.startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes) definition code for org.xml.sax.helpers.DefaultHandler.startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes) (String sample code for java.lang.String definition code for java.lang.String  uri, String sample code for java.lang.String definition code for java.lang.String  localName, String sample code for java.lang.String definition code for java.lang.String  qName, Attributes sample code for org.xml.sax.Attributes definition code for org.xml.sax.Attributes  attributes)
          Receive notification of the start of an element.
 void startPrefixMapping sample code for org.xml.sax.helpers.DefaultHandler.startPrefixMapping(java.lang.String, java.lang.String) definition code for org.xml.sax.helpers.DefaultHandler.startPrefixMapping(java.lang.String, java.lang.String) (String sample code for java.lang.String definition code for java.lang.String  prefix, String sample code for java.lang.String definition code for java.lang.String  uri)
          Receive notification of the start of a Namespace mapping.
 void unparsedEntityDecl sample code for org.xml.sax.helpers.DefaultHandler.unparsedEntityDecl(java.lang.String, java.lang.String, java.lang.String, java.lang.String) definition code for org.xml.sax.helpers.DefaultHandler.unparsedEntityDecl(java.lang.String, java.lang.String, java.lang.String, java.lang.String) (String sample code for java.lang.String definition code for java.lang.String  name, String sample code for java.lang.String definition code for java.lang.String  publicId, String sample code for java.lang.String definition code for java.lang.String  systemId, String sample code for java.lang.String definition code for java.lang.String  notationName)
          Receive notification of an unparsed entity declaration.
 void warning sample code for org.xml.sax.helpers.DefaultHandler.warning(org.xml.sax.SAXParseException) definition code for org.xml.sax.helpers.DefaultHandler.warning(org.xml.sax.SAXParseException) (SAXParseException sample code for org.xml.sax.SAXParseException definition code for org.xml.sax.SAXParseException  e)
          Receive notification of a parser warning.
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , equals sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , hashCode sample code for java.lang.Object.hashCode() definition code for java.lang.Object.hashCode() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , toString sample code for java.lang.Object.toString() definition code for java.lang.Object.toString() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 

Constructor Detail

DefaultHandler sample code for org.xml.sax.helpers.DefaultHandler() definition code for org.xml.sax.helpers.DefaultHandler()

public DefaultHandler()
Method Detail

resolveEntity sample code for org.xml.sax.helpers.DefaultHandler.resolveEntity(java.lang.String, java.lang.String) definition code for org.xml.sax.helpers.DefaultHandler.resolveEntity(java.lang.String, java.lang.String)

public InputSource sample code for org.xml.sax.InputSource definition code for org.xml.sax.InputSource  resolveEntity(String sample code for java.lang.String definition code for java.lang.String  publicId,
                                 String sample code for java.lang.String definition code for java.lang.String  systemId)
                          throws IOException sample code for java.io.IOException definition code for java.io.IOException ,
                                 SAXException sample code for org.xml.sax.SAXException definition code for org.xml.sax.SAXException 
Resolve an external entity.

Always return null, so that the parser will use the system identifier provided in the XML document. This method implements the SAX default behaviour: application writers can override it in a subclass to do special translations such as catalog lookups or URI redirection.

Specified by:
resolveEntity sample code for org.xml.sax.EntityResolver.resolveEntity(java.lang.String, java.lang.String) definition code for org.xml.sax.EntityResolver.resolveEntity(java.lang.String, java.lang.String) in interface EntityResolver sample code for org.xml.sax.EntityResolver definition code for org.xml.sax.EntityResolver
Parameters:
publicId - The public identifer, or null if none is available.
systemId - The system identifier provided in the XML document.
Returns:
The new input source, or null to require the default behaviour.
Throws:
IOException sample code for java.io.IOException definition code for java.io.IOException - If there is an error setting up the new input source.
SAXException sample code for org.xml.sax.SAXException definition code for org.xml.sax.SAXException - Any SAX exception, possibly wrapping another exception.
See Also:
EntityResolver.resolveEntity(java.lang.String, java.lang.String) sample code for org.xml.sax.EntityResolver.resolveEntity(java.lang.String, java.lang.String) definition code for org.xml.sax.EntityResolver.resolveEntity(java.lang.String, java.lang.String)

notationDecl sample code for org.xml.sax.helpers.DefaultHandler.notationDecl(java.lang.String, java.lang.String, java.lang.String) definition code for org.xml.sax.helpers.DefaultHandler.notationDecl(java.lang.String, java.lang.String, java.lang.String)

public void notationDecl(String sample code for java.lang.String definition code for java.lang.String  name,
                         String sample code for java.lang.String definition code for java.lang.String  publicId,
                         String sample code for java.lang.String definition code for java.lang.String  systemId)
                  throws SAXException sample code for org.xml.sax.SAXException definition code for org.xml.sax.SAXException 
Receive notification of a notation declaration.

By default, do nothing. Application writers may override this method in a subclass if they wish to keep track of the notations declared in a document.

Specified by:
notationDecl sample code for org.xml.sax.DTDHandler.notationDecl(java.lang.String, java.lang.String, java.lang.String) definition code for org.xml.sax.DTDHandler.notationDecl(java.lang.String, java.lang.String, java.lang.String) in interface DTDHandler sample code for org.xml.sax.DTDHandler definition code for org.xml.sax.DTDHandler
Parameters:
name - The notation name.
publicId - The notation public identifier, or null if not available.
systemId - The notation system identifier.
Throws:
SAXException sample code for org.xml.sax.SAXException definition code for org.xml.sax.SAXException - Any SAX exception, possibly wrapping another exception.
See Also:
DTDHandler.notationDecl(java.lang.String, java.lang.String, java.lang.String) sample code for org.xml.sax.DTDHandler.notationDecl(java.lang.String, java.lang.String, java.lang.String) definition code for org.xml.sax.DTDHandler.notationDecl(java.lang.String, java.lang.String, java.lang.String)

unparsedEntityDecl sample code for org.xml.sax.helpers.DefaultHandler.unparsedEntityDecl(java.lang.String, java.lang.String, java.lang.String, java.lang.String) definition code for org.xml.sax.helpers.DefaultHandler.unparsedEntityDecl(java.lang.String, java.lang.String, java.lang.String, java.lang.String)

public void unparsedEntityDecl(String sample code for java.lang.String definition code for java.lang.String  name,
                               String sample code for java.lang.String definition code for java.lang.String  publicId,
                               String sample code for java.lang.String definition code for java.lang.String  systemId,
                               String sample code for java.lang.String definition code for java.lang.String  notationName)
                        throws SAXException sample code for org.xml.sax.SAXException definition code for org.xml.sax.SAXException 
Receive notification of an unparsed entity declaration.

By default, do nothing. Application writers may override this method in a subclass to keep track of the unparsed entities declared in a document.

Specified by:
unparsedEntityDecl sample code for org.xml.sax.DTDHandler.unparsedEntityDecl(java.lang.String, java.lang.String, java.lang.String, java.lang.String) definition code for org.xml.sax.DTDHandler.unparsedEntityDecl(java.lang.String, java.lang.String, java.lang.String, java.lang.String) in interface DTDHandler sample code for org.xml.sax.DTDHandler definition code for org.xml.sax.DTDHandler
Parameters:
name - The entity name.
publicId - The entity public identifier, or null if not available.
systemId - The entity system identifier.
notationName - The name of the associated notation.
Throws:
SAXException sample code for org.xml.sax.SAXException definition code for org.xml.sax.SAXException - Any SAX exception, possibly wrapping another exception.
See Also:
DTDHandler.unparsedEntityDecl(java.lang.String, java.lang.String, java.lang.String, java.lang.String) sample code for org.xml.sax.DTDHandler.unparsedEntityDecl(java.lang.String, java.lang.String, java.lang.String, java.lang.String) definition code for org.xml.sax.DTDHandler.unparsedEntityDecl(java.lang.String, java.lang.String, java.lang.String, java.lang.String)

setDocumentLocator sample code for org.xml.sax.helpers.DefaultHandler.setDocumentLocator(org.xml.sax.Locator) definition code for org.xml.sax.helpers.DefaultHandler.setDocumentLocator(org.xml.sax.Locator)

public void setDocumentLocator(Locator sample code for org.xml.sax.Locator definition code for org.xml.sax.Locator  locator)
Receive a Locator object for document events.

By default, do nothing. Application writers may override this method in a subclass if they wish to store the locator for use with other document events.

Specified by:
setDocumentLocator sample code for org.xml.sax.ContentHandler.setDocumentLocator(org.xml.sax.Locator) definition code for org.xml.sax.ContentHandler.setDocumentLocator(org.xml.sax.Locator) in interface ContentHandler sample code for org.xml.sax.ContentHandler definition code for org.xml.sax.ContentHandler
Parameters:
locator - A locator for all SAX document events.
See Also:
ContentHandler.setDocumentLocator(org.xml.sax.Locator) sample code for org.xml.sax.ContentHandler.setDocumentLocator(org.xml.sax.Locator) definition code for org.xml.sax.ContentHandler.setDocumentLocator(org.xml.sax.Locator) , Locator sample code for org.xml.sax.Locator definition code for org.xml.sax.Locator

startDocument sample code for org.xml.sax.helpers.DefaultHandler.startDocument() definition code for org.xml.sax.helpers.DefaultHandler.startDocument()

public void startDocument()
                   throws SAXException sample code for org.xml.sax.SAXException definition code for org.xml.sax.SAXException 
Receive notification of the beginning of the document.

By default, do nothing. Application writers may override this method in a subclass to take specific actions at the beginning of a document (such as allocating the root node of a tree or creating an output file).

Specified by:
startDocument sample code for org.xml.sax.ContentHandler.startDocument() definition code for org.xml.sax.ContentHandler.startDocument() in interface ContentHandler sample code for org.xml.sax.ContentHandler definition code for org.xml.sax.ContentHandler
Throws:
SAXException sample code for org.xml.sax.SAXException definition code for org.xml.sax.SAXException - Any SAX exception, possibly wrapping another exception.
See Also:
ContentHandler.startDocument() sample code for org.xml.sax.ContentHandler.startDocument() definition code for org.xml.sax.ContentHandler.startDocument()

endDocument sample code for org.xml.sax.helpers.DefaultHandler.endDocument() definition code for org.xml.sax.helpers.DefaultHandler.endDocument()

public void endDocument()
                 throws SAXException sample code for org.xml.sax.SAXException definition code for org.xml.sax.SAXException 
Receive notification of the end of the document.

By default, do nothing. Application writers may override this method in a subclass to take specific actions at the end of a document (such as finalising a tree or closing an output file).

Specified by:
endDocument sample code for org.xml.sax.ContentHandler.endDocument() definition code for org.xml.sax.ContentHandler.endDocument() in interface ContentHandler sample code for org.xml.sax.ContentHandler definition code for org.xml.sax.ContentHandler
Throws:
SAXException sample code for org.xml.sax.SAXException definition code for org.xml.sax.SAXException - Any SAX exception, possibly wrapping another exception.
See Also:
ContentHandler.endDocument() sample code for org.xml.sax.ContentHandler.endDocument() definition code for org.xml.sax.ContentHandler.endDocument()

startPrefixMapping sample code for org.xml.sax.helpers.DefaultHandler.startPrefixMapping(java.lang.String, java.lang.String) definition code for org.xml.sax.helpers.DefaultHandler.startPrefixMapping(java.lang.String, java.lang.String)

public void startPrefixMapping(String sample code for java.lang.String definition code for java.lang.String  prefix,
                               String sample code for java.lang.String definition code for java.lang.String  uri)
                        throws SAXException sample code for org.xml.sax.SAXException definition code for org.xml.sax.SAXException 
Receive notification of the start of a Namespace mapping.

By default, do nothing. Application writers may override this method in a subclass to take specific actions at the start of each Namespace prefix scope (such as storing the prefix mapping).

Specified by:
startPrefixMapping sample code for org.xml.sax.ContentHandler.startPrefixMapping(java.lang.String, java.lang.String) definition code for org.xml.sax.ContentHandler.startPrefixMapping(java.lang.String, java.lang.String) in interface ContentHandler sample code for org.xml.sax.ContentHandler definition code for org.xml.sax.ContentHandler
Parameters:
prefix - The Namespace prefix being declared.
uri - The Namespace URI mapped to the prefix.
Throws:
SAXException sample code for org.xml.sax.SAXException definition code for org.xml.sax.SAXException - Any SAX exception, possibly wrapping another exception.
See Also:
ContentHandler.startPrefixMapping(java.lang.String, java.lang.String) sample code for org.xml.sax.ContentHandler.startPrefixMapping(java.lang.String, java.lang.String) definition code for org.xml.sax.ContentHandler.startPrefixMapping(java.lang.String, java.lang.String)

endPrefixMapping sample code for org.xml.sax.helpers.DefaultHandler.endPrefixMapping(java.lang.String) definition code for org.xml.sax.helpers.DefaultHandler.endPrefixMapping(java.lang.String)

public void endPrefixMapping(String sample code for java.lang.String definition code for java.lang.String  prefix)
                      throws SAXException sample code for org.xml.sax.SAXException definition code for org.xml.sax.SAXException 
Receive notification of the end of a Namespace mapping.

By default, do nothing. Application writers may override this method in a subclass to take specific actions at the end of each prefix mapping.

Specified by:
endPrefixMapping sample code for org.xml.sax.ContentHandler.endPrefixMapping(java.lang.String) definition code for org.xml.sax.ContentHandler.endPrefixMapping(java.lang.String) in interface ContentHandler sample code for org.xml.sax.ContentHandler definition code for org.xml.sax.ContentHandler
Parameters:
prefix - The Namespace prefix being declared.
Throws:
SAXException sample code for org.xml.sax.SAXException definition code for org.xml.sax.SAXException - Any SAX exception, possibly wrapping another exception.
See Also:
ContentHandler.endPrefixMapping(java.lang.String) sample code for org.xml.sax.ContentHandler.endPrefixMapping(java.lang.String) definition code for org.xml.sax.ContentHandler.endPrefixMapping(java.lang.String)

startElement sample code for org.xml.sax.helpers.DefaultHandler.startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes) definition code for org.xml.sax.helpers.DefaultHandler.startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)

public void startElement(String sample code for java.lang.String definition code for java.lang.String  uri,
                         String sample code for java.lang.String definition code for java.lang.String  localName,
                         String sample code for java.lang.String definition code for java.lang.String  qName,
                         Attributes sample code for org.xml.sax.Attributes definition code for org.xml.sax.Attributes  attributes)
                  throws SAXException sample code for org.xml.sax.SAXException definition code for org.xml.sax.SAXException 
Receive notification of the start of an element.

By default, do nothing. Application writers may override this method in a subclass to take specific actions at the start of each element (such as allocating a new tree node or writing output to a file).

Specified by:
startElement sample code for org.xml.sax.ContentHandler.startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes) definition code for org.xml.sax.ContentHandler.startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes) in interface ContentHandler sample code for org.xml.sax.ContentHandler definition code for org.xml.sax.ContentHandler
Parameters:
uri - The Namespace URI, or the empty string if the element has no Namespace URI or if Namespace processing is not being performed.
localName - The local name (without prefix), or the empty string if Namespace processing is not being performed.
qName - The qualified name (with prefix), or the empty string if qualified names are not available.
attributes - The attributes attached to the element. If there are no attributes, it shall be an empty Attributes object.
Throws:
SAXException sample code for org.xml.sax.SAXException definition code for org.xml.sax.SAXException - Any SAX exception, possibly wrapping another exception.
See Also:
ContentHandler.startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes) sample code for org.xml.sax.ContentHandler.startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes) definition code for org.xml.sax.ContentHandler.startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)

endElement sample code for org.xml.sax.helpers.DefaultHandler.endElement(java.lang.String, java.lang.String, java.lang.String) definition code for org.xml.sax.helpers.DefaultHandler.endElement(java.lang.String, java.lang.String, java.lang.String)

public void endElement(String sample code for java.lang.String definition code for java.lang.String  uri,
                       String sample code for java.lang.String definition code for java.lang.String  localName,
                       String sample code for java.lang.String definition code for java.lang.String  qName)
                throws SAXException sample code for org.xml.sax.SAXException definition code for org.xml.sax.SAXException 
Receive notification of the end of an element.

By default, do nothing. Application writers may override this method in a subclass to take specific actions at the end of each element (such as finalising a tree node or writing output to a file).

Specified by:
endElement sample code for org.xml.sax.ContentHandler.endElement(java.lang.String, java.lang.String, java.lang.String) definition code for org.xml.sax.ContentHandler.endElement(java.lang.String, java.lang.String, java.lang.String) in interface ContentHandler sample code for org.xml.sax.ContentHandler definition code for org.xml.sax.ContentHandler
Parameters:
uri - The Namespace URI, or the empty string if the element has no Namespace URI or if Namespace processing is not being performed.
localName - The local name (without prefix), or the empty string if Namespace processing is not being performed.
qName - The qualified name (with prefix), or the empty string if qualified names are not available.
Throws:
SAXException