|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SAXTagHandler
An interface, which allows to implement SAX parsers as a stack of tag handlers.
Method Summary | |
---|---|
void |
closeTag(java.lang.String uri,
java.lang.String localName,
java.lang.String name)
This function is called, when the tag is closed. |
void |
processCharacters(char[] ch,
int start,
int length)
This function is called, when character data inside the processed tag is received through ContentHandler.characters(char[], int, int) . |
SAXTagHandler |
startChildElement(java.lang.String uri,
java.lang.String localName,
java.lang.String name,
org.xml.sax.Attributes atts)
This function is called, when a child element is opened inside the processed tag through ContentHandler.startElement(String, String, String, Attributes) . |
Method Detail |
---|
void processCharacters(char[] ch, int start, int length) throws org.xml.sax.SAXException
ContentHandler.characters(char[], int, int)
.
ch
- The character array.start
- The start index inside the character array of the received data.length
- The length of the received data.
org.xml.sax.SAXException
- Upon errors processing the data.SAXTagHandler startChildElement(java.lang.String uri, java.lang.String localName, java.lang.String name, org.xml.sax.Attributes atts) throws org.xml.sax.SAXException
ContentHandler.startElement(String, String, String, Attributes)
.
uri
- The namespace URI of the received tag.localName
- The name of the tag without any namespace prefix.name
- The fully-qualified name of the tag. This is the tag name,
if the namespace URI is null.atts
- Any attributes attached to the child
org.xml.sax.SAXException
- Upon errors processing the data.void closeTag(java.lang.String uri, java.lang.String localName, java.lang.String name) throws org.xml.sax.SAXException
uri
- The namespace URI of the tag.localName
- The name of the tag without any namespace prefix.name
- The fully-qualified name of the tag. This is the tag name,
if the namespace URI is null.
org.xml.sax.SAXException
- Upon errors processing the data.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |