net.rim.device.api.xml.jaxp
Interface RIMWBXMLHandler

All Known Implementing Classes:
WBXMLCodeBookCreationHandler

public interface RIMWBXMLHandler

a suppliment to org.xml.sax.helpers.DefaultHandler. A RIM WBXMLParser will recognize that the DefaultHandler implements RIMWBXMLHandler, and make these callbacks in lieu of the DefaaultHandler's callbacks

Since:
JDE 4.0.0

Method Summary
 void endElement(int ElementCode, String uri, String localName, String qName)
          Receive notification of the end of an element.
 void startElement(int ElementCode, String uri, String localName, String qName, Attributes attributes)
          Receive notification of the start of an element.
 

Method Detail

startElement

public void startElement(int ElementCode,
                         String uri,
                         String localName,
                         String qName,
                         Attributes attributes)
                  throws 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).

Parameters:
name - The element type name.
attributes - The specified or defaulted attributes.
Throws:
SAXException - Any SAX exception, possibly wrapping another exception.
Since:
JDE 4.0.2
See Also:
org.xml.sax.ContentHandler#startElement

endElement

public void endElement(int ElementCode,
                       String uri,
                       String localName,
                       String qName)
                throws 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).

Parameters:
name - The element type name.
attributes - The specified or defaulted attributes.
Throws:
SAXException - Any SAX exception, possibly wrapping another exception.
Since:
JDE 4.0.2
See Also:
org.xml.sax.ContentHandler#endElement


Copyright 1999-2004 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.