| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.gjt.xpp.impl.tag.Tagorg.gjt.xpp.impl.tag.StartTagorg.gjt.xpp.impl.node.Nodeorg.gjt.xpp.impl.pullnode.PullNodeField Summary | |
protected int | |
protected XmlPullParser | |
Fields inherited from class org.gjt.xpp.impl.node.Node | |
EMPTY_ENUMERATION, children, childrenCount, declaredNs, declaredNsEnd, declaredPrefixes, defaultNamespaceUri, oneChild, parent, prefix2Ns | |
Constructor Summary | |
Method Summary | |
void |
|
Enumeration |
|
Object |
|
int |
|
int |
|
XmlPullParser | |
void |
|
boolean | |
XmlNode |
|
XmlPullNode | |
protected void |
|
void |
|
Object | |
void |
|
void | |
void |
|
void |
|
void |
|
void | |
String |
|
Methods inherited from class org.gjt.xpp.impl.tag.Tag | |
equals, getLocalName, getNamespaceUri, getPrefix, getRawName, hashCode, modifyTag, printFields, resetTag | |
public void appendChild(Object child)
throws XmlPullParserException
- Specified by:
- appendChild in interface XmlNode
- Overrides:
- appendChild in interface Node
public Enumeration children()
- Specified by:
- children in interface XmlPullNode
- children in interface XmlNode
public Object getChildAt(int pos)
- Specified by:
- getChildAt in interface XmlNode
- Overrides:
- getChildAt in interface Node
public int getChildrenCount()
it will reconsruct whole subtree to get count ...
- Specified by:
- getChildrenCount in interface XmlNode
- Overrides:
- getChildrenCount in interface Node
public int getChildrenCountSoFar()
if unfinished it returns actual number of children...
- Specified by:
- getChildrenCountSoFar in interface XmlPullNode
public XmlPullParser getPullParser() throws IOException, XmlPullParserException
- Specified by:
- getPullParser in interface XmlPullNode
public void insertChildAt(int pos,
Object child)
throws XmlPullParserException
- Specified by:
- insertChildAt in interface XmlNode
- Overrides:
- insertChildAt in interface Node
public XmlNode newNode() throws XmlPullParserException
- Specified by:
- newNode in interface XmlPullNode
- newNode in interface XmlNode
public XmlPullNode newPullNode(XmlPullParser pp) throws XmlPullParserException
- Specified by:
- newPullNode in interface XmlPullNode
protected void printFields(StringBuffer buf)
Print this class state into StringBuffer element name
- Overrides:
- printFields in interface Node
public void readChildren()
throws XmlPullParserException,
IOExceptionRead all reminaing children up to end tag.
- Specified by:
- readChildren in interface XmlPullNode
public Object readNextChild()
throws XmlPullParserException,
IOException
- Specified by:
- readNextChild in interface XmlPullNode
public void removeChildAt(int pos)
throws XmlPullParserException
- Specified by:
- removeChildAt in interface XmlNode
- Overrides:
- removeChildAt in interface Node
public void removeChildren()
throws XmlPullParserException
- Specified by:
- removeChildren in interface XmlNode
- Overrides:
- removeChildren in interface Node
public void replaceChildAt(int pos,
Object child)
throws XmlPullParserException
- Specified by:
- replaceChildAt in interface XmlNode
- Overrides:
- replaceChildAt in interface Node
public void resetPullNode()
PullNode stays in finished state.
- Specified by:
- resetPullNode in interface XmlPullNode
public void setPullParser(XmlPullParser pp) throws XmlPullParserException
Reset pull node to use pull parser. Pull Parser must be on START_TAG
- Specified by:
- setPullParser in interface XmlPullNode
public void skipChildren()
throws XmlPullParserException,
IOException
- Specified by:
- skipChildren in interface XmlPullNode