|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
suppliment to org.xml.sax.helpers.DefaultHandler a RIM SAX parser will detect if the DefaultHandler implements this interface and make addition callbacks if it does
| Method Summary | ||
void |
cdataSection(char[] text,
int offset,
int length)
Receive notification of a CDATA section. |
|
void |
comment(char[] text,
int offset,
int length)
Receive notification of a comment |
|
void |
defaultAttribute(String element,
String attribute,
String defaultValue)
Receive notification of a default attribute value declaration |
|
void |
endDTD(String name,
String publicId,
String systemId,
String body)
Receive notification of the end of the document type definition |
|
void |
endEntityReference(String name)
Receive notification of the end of an entity reference |
|
void |
entityDecl(String name,
String value)
Receive notification of a general entity declaration |
|
void |
startAndEndElement(String uri,
String localName,
String qName,
Attributes attributes)
Receive notification of the start and end of an element. |
|
void |
startDTD()
Receive notification of the start of the document type definition |
|
void |
startEntityReference(String name,
String publicId,
String systemId)
Receive notification of the start of an entity reference |
|
| Method Detail |
public void startDTD()
throws SAXException
SAXException - Any SAX exception, possibly
wrapping another exception.public void endDTD(String name, String publicId, String systemId, String body) throws SAXException
name - the document namepublicId - the public id of the DTD external subset (or null)systemId - the sytem id of the DTD external subset (or null of no external subset specified)body - of the DTD. This includes all characters between SAXException - Any SAX exception, possibly
wrapping another exception.
public void comment(char[] text,
int offset,
int length)
throws SAXException
text - The comment characters not including offset - The start position in the character array.length - The number of characters to use from the character array.SAXException - Any SAX exception, possibly
wrapping another exception.
public void cdataSection(char[] text,
int offset,
int length)
throws SAXException
text - The CDATA characters not including offset - The start position in the character array.length - The number of characters to use from the character array.SAXException - Any SAX exception, possibly
wrapping another exception.public void startEntityReference(String name, String publicId, String systemId) throws SAXException
name - The name of the entitypublicId - The public id of the entitysystemId - The system id of the entity or null if this is an internal entitySAXException - Any SAX exception, possibly
wrapping another exception.public void endEntityReference(String name) throws SAXException
name - The name of the entitySAXException - Any SAX exception, possibly
wrapping another exception.public void entityDecl(String name, String value) throws SAXException
name - The name of the entityvalue - The entity's replacement textSAXException - Any SAX exception, possibly
wrapping another exception.public void defaultAttribute(String element, String attribute, String defaultValue) throws SAXException
element - The qualified name of the elementattribute - The qualified name of the attributedefaultValue - The default attribute valueSAXException - Any SAX exception, possibly
wrapping another exception.public void startAndEndElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
name - The element type name.attributes - The specified or defaulted attributes.SAXException - Any SAX exception, possibly
wrapping another exception.org.xml.sax.helpers.DefaultHandler.startElement,
org.xml.sax.helpers.DefaultHandler.endElement
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
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.