|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.twitterapime.parser.DefaultXMLHandler
public class DefaultXMLHandler
This class defines a default XML document handler.
Field Summary | |
---|---|
protected java.lang.String |
xmlPath
Current reading path. |
Constructor Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String xmlPath
Current reading path.
Constructor Detail |
---|
public DefaultXMLHandler()
Method Detail |
---|
public void startDocument() throws ParserException
XMLHandler
Callback method called to notify the start of the document.
startDocument
in interface XMLHandler
ParserException
- If a parser error occurs.XMLHandler.startDocument()
public void startElement(java.lang.String namespaceURI, java.lang.String localName, java.lang.String qName, Attributes attrs) throws ParserException
XMLHandler
Callback method called to notify the start of a element in the document.
startElement
in interface XMLHandler
namespaceURI
- URI.localName
- The local name.qName
- The qualified name.attrs
- The specified or defaulted attributes.
ParserException
- If a parser error occurs.XMLHandler.startElement(java.lang.String, java.lang.String, java.lang.String, com.twitterapime.parser.Attributes)
public void text(java.lang.String text) throws ParserException
XMLHandler
Callback method called to notify a string data inside an element.
text
in interface XMLHandler
text
- String data.
ParserException
- If a parser error occurs.XMLHandler.text(java.lang.String)
public void endElement(java.lang.String namespaceURI, java.lang.String localName, java.lang.String qName) throws ParserException
XMLHandler
Callback method called to notify the end of a element in the document.
endElement
in interface XMLHandler
namespaceURI
- URI.localName
- The local name.qName
- The qualified name.
ParserException
- If a parser error occurs.XMLHandler.endElement(java.lang.String, java.lang.String, java.lang.String)
public void endDocument() throws ParserException
XMLHandler
Callback method called to notify the end of the document.
endDocument
in interface XMLHandler
ParserException
- If a parser error occurs.XMLHandler.endDocument()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |