|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RIMWBXMLHandler
A supplement to org.xml.sax.helpers.DefaultHandler. A RIM WBXMLParser recognizes
that the DefaultHandler implements RIMWBXMLHandler, and makes these callbacks instead
of the DefaultHandler's callbacks.
| Method Summary | ||
|---|---|---|
void |
endElement(int ElementCode,
String uri,
String localName,
String qName)
Receives notification of the end of an element. |
|
void |
startElement(int ElementCode,
String uri,
String localName,
String qName,
Attributes attributes)
Receives notification of the start of an element. |
|
| Method Detail |
|---|
void startElement(int ElementCode,
String uri,
String localName,
String qName,
Attributes attributes)
throws SAXException
By default, does nothing. Applications might 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.
ElementCode - The code of the element.uri - The namespace URI if namespace processing is being
performed; an empty string otherwise.localName - Specify the local name if namespace processing is
being performed; an empty string otherwise.qName - Specify the qualified name if qualified names are
available; an empty string otherwise.attributes - The specified or defaulted attributes.
SAXException - Thrown if a SAX exception, possibly
wrapping another exception, occurs.ContentHandler.startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)
void endElement(int ElementCode,
String uri,
String localName,
String qName)
throws SAXException
By default, does nothing. Applications might 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.
ElementCode - The code of the element.uri - The namespace URI if namespace processing is being
performed; an empty string otherwise.localName - Specify the local name if namespace processing is
being performed; an empty string otherwise.qName - Specify the qualified name if qualified names are
available; an empty string otherwise.
SAXException - Thrown if a SAX exception, possibly
wrapping another exception, occurs.ContentHandler.endElement(java.lang.String, java.lang.String, java.lang.String)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2010 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. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.