This is not recommened method to pull children when node is not
finished (use readNextChild() instead) as Enumeration interface
does not allow to throw XmlPullParserException
so any parsing exeption is wrapped into RuntimeException
making code more messy...
Get parser that is use to build this node tree
and this pull node becomes finished - the caller is responsibile
to move pull parser state to the end tag of this node
(or parent pull node will be left in unconsistent state!!!!).
Read subtree into node: call readNodeWithoutChildren
and then parse subtree adding children
(values obtained with readXontent or readNodeWithoutChildren).
Read XmlNode from input - essentially it is utility function that
will create instance of pull parser, feed input inpt it and
return new node tree parsed form the input.
Base interface that encapsulates common functionality for
XML elements: both start tag and end tag
(an empty element is equivalent to start tag followed by
end tag so for simplicity ti is not modeled as a separate class).