public class UserInfoParser extends XmlParser implements ApiResponseReader<UserInfo>
| Constructor and Description |
|---|
UserInfoParser() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createUser(long id,
java.lang.String name) |
protected void |
onEndElement() |
protected void |
onStartElement() |
UserInfo |
parse(java.io.InputStream in)
Called when the input stream is available.
|
doParse, getAttribute, getBooleanAttribute, getByteAttribute, getDoubleAttribute, getFloatAttribute, getIntAttribute, getLongAttribute, getName, getParentName, getText, onTextNodeprotected UserInfo user
public UserInfo parse(java.io.InputStream in)
ApiResponseReaderparse in interface ApiResponseReader<UserInfo>in - the input stream from the server responseprotected void createUser(long id,
java.lang.String name)
protected void onStartElement()
throws java.text.ParseException
onStartElement in class XmlParserjava.text.ParseExceptionprotected void onEndElement()
onEndElement in class XmlParser