|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RIMExtendedHandler
A supplement to org.xml.sax.helpers.DefaultHandler.
A RIM SAX parser detects if the DefaultHandler implements this interface
and makes addition callbacks if it does.
| Method Summary | ||
|---|---|---|
void |
cdataSection(char[] text,
int offset,
int length)
Receives notification of a CDATA section. |
|
void |
comment(char[] text,
int offset,
int length)
Receives notification of a comment. |
|
void |
defaultAttribute(String element,
String attribute,
String defaultValue)
Receives notification of a default attribute value declaration. |
|
void |
endDTD(String name,
String publicId,
String systemId,
String body)
Receives notification of the end of the document type definition (DTD). |
|
void |
endEntityReference(String name)
Receives notification of the end of an entity reference. |
|
void |
entityDecl(String name,
String value)
Receives notification of a general entity declaration. |
|
void |
startAndEndElement(String uri,
String localName,
String qName,
Attributes attributes)
Receives notification of the start and end of an element. |
|
void |
startDTD()
Receives notification of the start of the document type definition (DTD). |
|
void |
startEntityReference(String name,
String publicId,
String systemId)
Receives notification of the start of an entity reference. |
|
| Method Detail |
|---|
void startDTD()
throws SAXException
SAXException - Thrown if a SAX exception, possibly
wrapping another exception, occurs.
void endDTD(String name,
String publicId,
String systemId,
String body)
throws SAXException
name - The document name.publicId - 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 - The body of the DTD. This includes all characters between .
SAXException - Thrown if a SAX exception, possibly
wrapping another exception, occurs.
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 - Thrown if a SAX exception, possibly
wrapping another exception, occurs.
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 - Thrown if a SAX exception, possibly
wrapping another exception, occurs.
void startEntityReference(String name,
String publicId,
String systemId)
throws SAXException
name - The name of the entity.publicId - The public ID of the entity.systemId - The system ID of the entity or null if this is an internal entity
SAXException - Any SAX exception, possibly
wrapping another exception.
void endEntityReference(String name)
throws SAXException
name - The name of the entity.
SAXException - Thrown if a SAX exception, possibly
wrapping another exception, occurs.
void entityDecl(String name,
String value)
throws SAXException
name - The name of the entity.value - The entity's replacement text.
SAXException - Thrown if a SAX exception, possibly
wrapping another exception, occurs.
void defaultAttribute(String element,
String attribute,
String defaultValue)
throws SAXException
element - The qualified name of the element.attribute - The qualified name of the attribute.defaultValue - The default attribute value.
SAXException - Thrown if a SAX exception, possibly
wrapping another exception, occurs.
void startAndEndElement(String uri,
String localName,
String qName,
Attributes attributes)
throws SAXException
name - The element type name.attributes - The specified or defaulted attributes.
SAXException - Thrown if a SAX exception, possibly
wrapping another exception, occurs.org.xml.sax.helpers.DefaultHandler.startElement,
org.xml.sax.helpers.DefaultHandler.endElement
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal