org.gjt.xpp.impl.pullnode
public class PullNode extends Node implements XmlPullNode
Field Summary | |
---|---|
protected int | depth |
protected XmlPullParser | pp |
Constructor Summary | |
---|---|
PullNode(XmlPullParser pp) |
Method Summary | |
---|---|
void | appendChild(Object child) |
Enumeration | children() |
Object | getChildAt(int pos) |
int | getChildrenCount() it will reconsruct whole subtree to get count ... |
int | getChildrenCountSoFar() if unfinished it returns actual number of children... |
XmlPullParser | getPullParser() |
void | insertChildAt(int pos, Object child) |
boolean | isFinished() |
XmlNode | newNode() |
XmlPullNode | newPullNode(XmlPullParser pp) |
protected void | printFields(StringBuffer buf)
Print this class state into StringBuffer element name |
void | readChildren()
Read all reminaing children up to end tag. |
Object | readNextChild() |
void | removeChildAt(int pos) |
void | removeChildren() |
void | replaceChildAt(int pos, Object child) |
void | resetPullNode() PullNode stays in finished state. |
void | setPullParser(XmlPullParser pp) Reset pull node to use pull parser. |
void | skipChildren() |
String | toString()
Return string representation of start tag including name
and list of attributes. |