|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XMLHandler
This interface defines a XML document handler.
DefaultXMLHandler
Method Summary | |
---|---|
void |
endDocument()
Callback method called to notify the end of the document. |
void |
endElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName)
Callback method called to notify the end of a element in the document. |
void |
startDocument()
Callback method called to notify the start of the document. |
void |
startElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName,
Attributes attrs)
Callback method called to notify the start of a element in the document. |
void |
text(java.lang.String text)
Callback method called to notify a string data inside an element. |
Method Detail |
---|
void startDocument() throws ParserException
Callback method called to notify the start of the document.
ParserException
- If a parser error occurs.void startElement(java.lang.String namespaceURI, java.lang.String localName, java.lang.String qName, Attributes attrs) throws ParserException
Callback method called to notify the start of a element in the document.
namespaceURI
- URI.localName
- The local name.qName
- The qualified name.attrs
- The specified or defaulted attributes.
ParserException
- If a parser error occurs.void text(java.lang.String text) throws ParserException
Callback method called to notify a string data inside an element.
text
- String data.
ParserException
- If a parser error occurs.void endElement(java.lang.String namespaceURI, java.lang.String localName, java.lang.String qName) throws ParserException
Callback method called to notify the end of a element in the document.
namespaceURI
- URI.localName
- The local name.qName
- The qualified name.
ParserException
- If a parser error occurs.void endDocument() throws ParserException
Callback method called to notify the end of the document.
ParserException
- If a parser error occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |