| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private String[] | |
| private int | |
| private boolean | |
| private int | |
| private String[] | |
| private String | |
| private Hashtable | |
| private String | |
| private static final String | |
| private boolean | |
| private static final int | |
| private int | |
| private Object | |
| private String | |
| private String | |
| private int[] | |
| private String[] | |
| private int[] | peek
A separate peek buffer seems simpler than managing wrap around in the first level read buffer |
| private int | |
| private String | |
| private boolean | |
| private Reader | |
| private boolean | |
| private char[] | |
| private int | |
| private int | |
| private int | |
| private Boolean | |
| private boolean | |
| private char[] | |
| private int | |
| private int | |
| private static final String | |
| private boolean | |
| private String | |
| private boolean | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private final boolean | |
| public void | defineEntityReplacementText(String entity, String value)
Implements org. |
| private final String[] | |
| private final void | |
| private final void | |
| private final String | |
| public int | getAttributeCount()
Implements org. |
| public String | getAttributeName(int
based index of attribute index)Implements org. |
| public String | getAttributeNamespace(int
based index of attribute index)Implements org. |
| public String | getAttributePrefix(int
based index of attribute index)Implements org. |
| public String | getAttributeType(int
based index of attribute index)Implements org. |
| public String | getAttributeValue(int
based index of attribute index)Implements org. |
| public String | getAttributeValue(String
Namespace of the attribute if namespaces are enabled otherwise must be null namespace, String If namespaces enabled local name of attribute otherwise just attribute name name)Implements org. |
| public int | getColumnNumber()
Implements org. |
| public int | getDepth()
Implements org. |
| public int | getEventType()
Implements org. |
| public boolean | getFeature(String
The name of feature to be retrieved. feature)Implements org. |
| public String | getInputEncoding()
Implements org. |
| public int | getLineNumber()
Implements org. |
| public String | getName()
Implements org. |
| public String | getNamespace(String prefix)
Implements org. |
| public String | getNamespace()
Implements org. |
| public int | getNamespaceCount(int depth)
Implements org. |
| public String | getNamespacePrefix(int pos)
Implements org. |
| public String | getNamespaceUri(int pos)
Implements org. |
| public String | getPositionDescription()
Implements org. |
| public String | getPrefix()
Implements org. |
| public Object | getProperty(String
The name of property to be retrieved. property)Implements org. |
| public String | getText()
Implements org. |
| public char[] | getTextCharacters(int[]
Must hold an 2-element int array
into which the start offset and length values will be written. poslen)Implements org. |
| public boolean | isAttributeDefault(int
based index of attribute index)Implements org. |
| public boolean | isEmptyElementTag()
Implements org. |
| private final boolean | |
| public boolean | isWhitespace()
Implements org. |
| public int | next()
Implements org. |
| private final void | |
| public int | nextTag()
Implements org. |
| public String | nextText()
Implements org. |
| public int | nextToken()
Implements org. |
| private final void | |
| private final void | |
| private final int | |
| private final void | |
| private final int | |
| private final int | |
| private final void | |
| private final void | pushEntity()
result: isWhitespace; if the setName parameter is set, the name of the entity is stored in "name" |
| private final void | pushText(int delimiter, boolean resolveEntities)
types: '<': parse to any token (for nextToken ()) '"': parse to quote ' ': parse to whitespace or '>' |
| private final void | |
| private final int | |
| private final String | |
| public void | require(int type, String namespace, String name)
Implements org. |
| public void | setFeature(String feature, boolean value)
Implements org. |
| public void | setInput(Reader reader)
Implements org. |
| public void | setInput(InputStream
contains a raw byte input stream of possibly
unknown encoding (when inputEncoding is null). is, String if not null it MUST be used as encoding for inputStream _enc)Implements org. |
| public void | setProperty(String property, Object value)
Implements org. |
| private final void | |
| public void |
| attributeCount | back to summary |
|---|---|
| private int attributeCount | |
| attributes | back to summary |
|---|---|
| private String[] attributes | |
| column | back to summary |
|---|---|
| private int column | |
| degenerated | back to summary |
|---|---|
| private boolean degenerated | |
| depth | back to summary |
|---|---|
| private int depth | |
| elementStack | back to summary |
|---|---|
| private String[] elementStack | |
| encoding | back to summary |
|---|---|
| private String encoding | |
| entityMap | back to summary |
|---|---|
| private Hashtable<K, V> entityMap | |
| error | back to summary |
|---|---|
| private String error | |
| ILLEGAL_TYPE | back to summary |
|---|---|
| private static final String ILLEGAL_TYPE | |
| isWhitespace | back to summary |
|---|---|
| private boolean isWhitespace | |
| LEGACY | back to summary |
|---|---|
| private static final int LEGACY | |
| line | back to summary |
|---|---|
| private int line | |
| location | back to summary |
|---|---|
| private Object location | |
| name | back to summary |
|---|---|
| private String name | |
| namespace | back to summary |
|---|---|
| private String namespace | |
| nspCounts | back to summary |
|---|---|
| private int[] nspCounts | |
| nspStack | back to summary |
|---|---|
| private String[] nspStack | |
| peek | back to summary |
|---|---|
| private int[] peek A separate peek buffer seems simpler than managing wrap around in the first level read buffer | |
| peekCount | back to summary |
|---|---|
| private int peekCount | |
| prefix | back to summary |
|---|---|
| private String prefix | |
| processNsp | back to summary |
|---|---|
| private boolean processNsp | |
| reader | back to summary |
|---|---|
| private Reader reader | |
| relaxed | back to summary |
|---|---|
| private boolean relaxed | |
| srcBuf | back to summary |
|---|---|
| private char[] srcBuf | |
| srcCount | back to summary |
|---|---|
| private int srcCount | |
| srcPos | back to summary |
|---|---|
| private int srcPos | |
| stackMismatch | back to summary |
|---|---|
| private int stackMismatch | |
| standalone | back to summary |
|---|---|
| private Boolean standalone | |
| token | back to summary |
|---|---|
| private boolean token | |
| txtBuf | back to summary |
|---|---|
| private char[] txtBuf | |
| txtPos | back to summary |
|---|---|
| private int txtPos | |
| type | back to summary |
|---|---|
| private int type | |
| UNEXPECTED_EOF | back to summary |
|---|---|
| private static final String UNEXPECTED_EOF | |
| unresolved | back to summary |
|---|---|
| private boolean unresolved | |
| version | back to summary |
|---|---|
| private String version | |
| wasCR | back to summary |
|---|---|
| private boolean wasCR | |
| XML_DECL | back to summary |
|---|---|
| private static final int XML_DECL | |
| KXmlParser | back to summary |
|---|---|
| public KXmlParser() | |
| adjustNsp | back to summary |
|---|---|
| private final boolean adjustNsp() throws XmlPullParserException | |
| defineEntityReplacementText | back to summary |
|---|---|
| public void defineEntityReplacementText(String entity, String value) throws XmlPullParserException Implements org. Doc from org. Set new value for entity replacement text as defined in XML 1.0 Section 4.5 Construction of Internal Entity Replacement Text. If FEATURE_PROCESS_DOCDECL or FEATURE_VALIDATION are set, calling this function will result in an exception -- when processing of DOCDECL is enabled, there is no need to the entity replacement text manually. The motivation for this function is to allow very small implementations of XMLPULL that will work in J2ME environments. Though these implementations may not be able to process the document type declaration, they still can work with known DTDs by using this function. Please notes: The given value is used literally as replacement text and it corresponds to declaring entity in DTD that has all special characters escaped: left angle bracket is replaced with <, ampersnad with & and so on. Note The given value is the literal replacement text and must not contain any other entity reference (if it contains any entity reference there will be no further replacement). Note The list of pre-defined entity names will always contain standard XML entities such as amp (&), lt (<), gt (>), quot ("), and apos ('). Those cannot be redefined by this method! | |
| ensureCapacity | back to summary |
|---|---|
| private final String[] ensureCapacity(String[] arr, int required) | |
| error | back to summary |
|---|---|
| private final void error(String desc) throws XmlPullParserException | |
| exception | back to summary |
|---|---|
| private final void exception(String desc) throws XmlPullParserException | |
| get | back to summary |
|---|---|
| private final String get(int pos) | |
| getAttributeCount | back to summary |
|---|---|
| public int getAttributeCount() Implements org. Doc from org. Returns the number of attributes of the current start tag, or -1 if the current event type is not START_TAG | |
| getAttributeName | back to summary |
|---|---|
| public String getAttributeName(int index) Implements org. Doc from org. Returns the local name of the specified attribute if namespaces are enabled or just attribute name if namespaces are disabled. Throws an IndexOutOfBoundsException if the index is out of range or current event type is not START_TAG.
| |
| getAttributeNamespace | back to summary |
|---|---|
| public String getAttributeNamespace(int index) Implements org. Doc from org. Returns the namespace URI of the attribute with the given index (starts from 0). Returns an empty string ("") if namespaces are not enabled or the attribute has no namespace. Throws an IndexOutOfBoundsException if the index is out of range or the current event type is not START_TAG. Note if FEATURE_REPORT_NAMESPACE_ATTRIBUTES is set then namespace attributes (xmlns:ns='...') must be reported with namespace http://www.w3.org/2000/xmlns/ (visit this URL for description!). The default namespace attribute (xmlns="...") will be reported with empty namespace. Note The xml prefix is bound as defined in Namespaces in XML specification to "http://www.w3.org/XML/1998/namespace".
| |
| getAttributePrefix | back to summary |
|---|---|
| public String getAttributePrefix(int index) Implements org. Doc from org. Returns the prefix of the specified attribute Returns null if the element has no prefix. If namespaces are disabled it will always return null. Throws an IndexOutOfBoundsException if the index is out of range or current event type is not START_TAG.
| |
| getAttributeType | back to summary |
|---|---|
| public String getAttributeType(int index) Implements org. Doc from org. Returns the type of the specified attribute If parser is non-validating it MUST return CDATA.
| |
| getAttributeValue | back to summary |
|---|---|
| public String getAttributeValue(int index) Implements org. Doc from org. Returns the given attributes value. Throws an IndexOutOfBoundsException if the index is out of range or current event type is not START_TAG. Note attribute value must be normalized (including entity replacement text if PROCESS_DOCDECL is false) as described in XML 1.0 section 3.3.3 Attribute-Value Normalization
| |
| getAttributeValue | back to summary |
|---|---|
| public String getAttributeValue(String namespace, String name) Implements org. Doc from org. Returns the attributes value identified by namespace URI and namespace localName. If namespaces are disabled namespace must be null. If current event type is not START_TAG then IndexOutOfBoundsException will be thrown. Note attribute value must be normalized (including entity replacement text if PROCESS_DOCDECL is false) as described in XML 1.0 section 3.3.3 Attribute-Value Normalization | |
| getColumnNumber | back to summary |
|---|---|
| public int getColumnNumber() Implements org. Doc from org. Returns the current column number, starting from 0. When the parser does not know the current column number or can not determine it, -1 is returned (e.g. for WBXML).
| |
| getDepth | back to summary |
|---|---|
| public int getDepth() Implements org. Doc from org. Returns the current depth of the element. Outside the root element, the depth is 0. The depth is incremented by 1 when a start tag is reached. The depth is decremented AFTER the end tag event was observed.
<!-- outside --> 0
<root> 1
sometext 1
<foobar> 2
</foobar> 2
</root> 1
<!-- outside --> 0
| |
| getEventType | back to summary |
|---|---|
| public int getEventType() throws XmlPullParserException Implements org. Doc from org. Returns the type of the current event (START_TAG, END_TAG, TEXT, etc.) | |
| getFeature | back to summary |
|---|---|
| public boolean getFeature(String feature) Implements org. Doc from org. Returns the current value of the given feature. Note unknown features are always returned as false.
| |
| getInputEncoding | back to summary |
|---|---|
| public String getInputEncoding() Implements org. Doc from org. Returns the input encoding if known, null otherwise. If setInput(InputStream, inputEncoding) was called with an inputEncoding value other than null, this value must be returned from this method. Otherwise, if inputEncoding is null and the parser suppports the encoding detection feature (http://xmlpull.org/v1/doc/features.html#detect-encoding), it must return the detected encoding. If setInput(Reader) was called, null is returned. After first call to next if XML declaration was present this method will return encoding declared. | |
| getLineNumber | back to summary |
|---|---|
| public int getLineNumber() Implements org. Doc from org. Returns the current line number, starting from 1. When the parser does not know the current line number or can not determine it, -1 is returned (e.g. for WBXML).
| |
| getName | back to summary |
|---|---|
| public String getName() Implements org. Doc from org. For START_TAG or END_TAG events, the (local) name of the current element is returned when namespaces are enabled. When namespace processing is disabled, the raw name is returned. For ENTITY_REF events, the entity name is returned. If the current event is not START_TAG, END_TAG, or ENTITY_REF, null is returned. Note To reconstruct the raw element name when namespaces are enabled and the prefix is not null, you will need to add the prefix and a colon to localName.. | |
| getNamespace | back to summary |
|---|---|
| public String getNamespace(String prefix) Implements org. Doc from org. Returns the URI corresponding to the given prefix, depending on current state of the parser. If the prefix was not declared in the current scope, null is returned. The default namespace is included in the namespace table and is available via getNamespace (null). This method is a convenience method for
for (int i = getNamespaceCount(getDepth ())-1; i >= 0; i--) {
if (getNamespacePrefix(i).equals( prefix )) {
return getNamespaceUri(i);
}
}
return null;
Note parser implementations may provide more efifcient lookup, e.g. using a Hashtable. The 'xml' prefix is bound to "http://www.w3.org/XML/1998/namespace", as defined in the Namespaces in XML specification. Analogous, the 'xmlns' prefix is resolved to http://www.w3.org/2000/xmlns/ | |
| getNamespace | back to summary |
|---|---|
| public String getNamespace() Implements org. Doc from org. Returns the namespace URI of the current element. The default namespace is represented as empty string. If namespaces are not enabled, an empty String ("") is always returned. The current event must be START_TAG or END_TAG; otherwise, null is returned. | |
| getNamespaceCount | back to summary |
|---|---|
| public int getNamespaceCount(int depth) Implements org. Doc from org. Returns the numbers of elements in the namespace stack for the given depth. If namespaces are not enabled, 0 is returned. Note when parser is on END_TAG then it is allowed to call this function with getDepth()+1 argument to retrieve position of namespace prefixes and URIs that were declared on corresponding START_TAG. Note to retrieve lsit of namespaces declared in current element:
XmlPullParser pp = ...
int nsStart = pp.getNamespaceCount(pp.getDepth()-1);
int nsEnd = pp.getNamespaceCount(pp.getDepth());
for (int i = nsStart; i < nsEnd; i++) {
String prefix = pp.getNamespacePrefix(i);
String ns = pp.getNamespaceUri(i);
// ...
}
| |
| getNamespacePrefix | back to summary |
|---|---|
| public String getNamespacePrefix(int pos) Implements org. Doc from org. Returns the namespace prefixe for the given position in the namespace stack. Default namespace declaration (xmlns='...') will have null as prefix. If the given index is out of range, an exception is thrown. Note when the parser is on an END_TAG, namespace prefixes that were declared in the corresponding START_TAG are still accessible although they are no longer in scope. | |
| getNamespaceUri | back to summary |
|---|---|
| public String getNamespaceUri(int pos) Implements org. Doc from org. Returns the namespace URI for the given position in the namespace stack If the position is out of range, an exception is thrown. Note when parser is on END_TAG then namespace prefixes that were declared in corresponding START_TAG are still accessible even though they are not in scope | |
| getPositionDescription | back to summary |
|---|---|
| public String getPositionDescription() Implements org. Doc from org. Returns a short text describing the current parser state, including the position, a description of the current event and the data source if known. This method is especially useful to provide meaningful error messages and for debugging purposes. | |
| getPrefix | back to summary |
|---|---|
| public String getPrefix() Implements org. Doc from org. Returns the prefix of the current element. If the element is in the default namespace (has no prefix), null is returned. If namespaces are not enabled, or the current event is not START_TAG or END_TAG, null is returned. | |
| getProperty | back to summary |
|---|---|
| public Object getProperty(String property) Implements org. Doc from org. Look up the value of a property. The property name is any fully-qualified URI. Note unknown properties are always returned as null. | |
| getText | back to summary |
|---|---|
| public String getText() Implements org. Doc from org. Returns the text content of the current event as String. The value returned depends on current event type, for example for TEXT event it is element content (this is typical case when next() is used). See description of nextToken() for detailed description of possible returned values for different types of events. Note in case of ENTITY_REF, this method returns the entity replacement text (or null if not available). This is the only case where getText() and getTextCharacters() return different values. | |
| getTextCharacters | back to summary |
|---|---|
| public char[] getTextCharacters(int[] poslen) Implements org. Doc from org. Returns the buffer that contains the text of the current event, as well as the start offset and length relevant for the current event. See getText(), next() and nextToken() for description of possible returned values. Note this buffer must not be modified and its content MAY change after a call to next() or nextToken(). This method will always return the same value as getText(), except for ENTITY_REF. In the case of ENTITY ref, getText() returns the replacement text and this method returns the actual input buffer containing the entity name. If getText() returns null, this method returns null as well and the values returned in the holder array MUST be -1 (both start and length).
| |
| isAttributeDefault | back to summary |
|---|---|
| public boolean isAttributeDefault(int index) Implements org. Doc from org. Returns if the specified attribute was not in input was declared in XML. If parser is non-validating it MUST always return false. This information is part of XML infoset:
| |
| isEmptyElementTag | back to summary |
|---|---|
| public boolean isEmptyElementTag() throws XmlPullParserException Implements org. Doc from org. Returns true if the current event is START_TAG and the tag is degenerated (e.g. <foobar/>). Note if the parser is not on START_TAG, an exception will be thrown. | |
| isProp | back to summary |
|---|---|
| private final boolean isProp(String n1, boolean prop, String n2) | |
| isWhitespace | back to summary |
|---|---|
| public boolean isWhitespace() throws XmlPullParserException Implements org. Doc from org. Checks whether the current TEXT event contains only whitespace characters. For IGNORABLE_WHITESPACE, this is always true. For TEXT and CDSECT, false is returned when the current event text contains at least one non-white space character. For any other event type an exception is thrown. Note non-validating parsers are not able to distinguish whitespace and ignorable whitespace, except from whitespace outside the root element. Ignorable whitespace is reported as separate event, which is exposed via nextToken only. | |
| next | back to summary |
|---|---|
| public int next() throws XmlPullParserException, IOException Implements org. Doc from org. Get next parsing event - element content wil be coalesced and only one TEXT event must be returned for whole element content (comments and processing instructions will be ignored and emtity references must be expanded or exception mus be thrown if entity reerence can not be exapnded). If element content is empty (content is "") then no TEXT event will be reported. Note empty element (such as <tag/>) will be reported with two separate events: START_TAG, END_TAG - it must be so to preserve parsing equivalency of empty element to <tag></tag>. (see isEmptyElementTag ()) | |
| nextImpl | back to summary |
|---|---|
| private final void nextImpl() throws IOException, XmlPullParserException common base for next and nextToken. Clears the state, except from txtPos and whitespace. Does not set the type variable | |
| nextTag | back to summary |
|---|---|
| public int nextTag() throws XmlPullParserException, IOException Implements org. Doc from org. Call next() and return event if it is START_TAG or END_TAG otherwise throw an exception. It will skip whitespace TEXT before actual tag if any. essentially it does this
int eventType = next();
if(eventType == TEXT && isWhitespace()) { // skip whitespace
eventType = next();
}
if (eventType != START_TAG && eventType != END_TAG) {
throw new XmlPullParserException("expected start or end tag", this, null);
}
return eventType;
| |
| nextText | back to summary |
|---|---|
| public String nextText() throws XmlPullParserException, IOException Implements org. Doc from org. If current event is START_TAG then if next element is TEXT then element content is returned or if next event is END_TAG then empty string is returned, otherwise exception is thrown. After calling this function successfully parser will be positioned on END_TAG. The motivation for this function is to allow to parse consistently both empty elements and elements that has non empty content, for example for input:
| |
| nextToken | back to summary |
|---|---|
| public int nextToken() throws XmlPullParserException, IOException Implements org. Doc from org. This method works similarly to next() but will expose additional event types (COMMENT, CDSECT, DOCDECL, ENTITY_REF, PROCESSING_INSTRUCTION, or IGNORABLE_WHITESPACE) if they are available in input. If special feature FEATURE_XML_ROUNDTRIP (identified by URI: http://xmlpull.org/v1/doc/features.html#xml-roundtrip) is enabled it is possible to do XML document round trip ie. reproduce exectly on output the XML input using getText(): returned content is always unnormalized (exactly as in input). Otherwise returned content is end-of-line normalized as described XML 1.0 End-of-Line Handling and. Also when this feature is enabled exact content of START_TAG, END_TAG, DOCDECL and PROCESSING_INSTRUCTION is available. Here is the list of tokens that can be returned from nextToken() and what getText() and getTextCharacters() returns:
| |
| parseDoctype | back to summary |
|---|---|
| private final void parseDoctype(boolean push) throws IOException, XmlPullParserException precondition: <! consumed | |
| parseEndTag | back to summary |
|---|---|
| private final void parseEndTag() throws IOException, XmlPullParserException | |
| parseLegacy | back to summary |
|---|---|
| private final int parseLegacy(boolean push) throws IOException, XmlPullParserException | |
| parseStartTag | back to summary |
|---|---|
| private final void parseStartTag(boolean xmldecl) throws IOException, XmlPullParserException Sets name and attributes | |
| peek | back to summary |
|---|---|
| private final int peek(int pos) throws IOException Does never read more than needed | |
| peekType | back to summary |
|---|---|
| private final int peekType() throws IOException | |
| push | back to summary |
|---|---|
| private final void push(int c) | |
| pushEntity | back to summary |
|---|---|
| private final void pushEntity() throws IOException, XmlPullParserException result: isWhitespace; if the setName parameter is set, the name of the entity is stored in "name" | |
| pushText | back to summary |
|---|---|
| private final void pushText(int delimiter, boolean resolveEntities) throws IOException, XmlPullParserException types: '<': parse to any token (for nextToken ()) '"': parse to quote ' ': parse to whitespace or '>' | |
| read | back to summary |
|---|---|
| private final void read(char c) throws IOException, XmlPullParserException | |
| read | back to summary |
|---|---|
| private final int read() throws IOException | |
| readName | back to summary |
|---|---|
| private final String readName() throws IOException, XmlPullParserException | |
| require | back to summary |
|---|---|
| public void require(int type, String namespace, String name) throws XmlPullParserException, IOException Implements org. Doc from org. Test if the current event is of the given type and if the namespace and name do match. null will match any namespace and any name. If the test is not passed, an exception is thrown. The exception text indicates the parser position, the expected event and the current event that is not meeting the requirement. Essentially it does this
if (type != getEventType()
|| (namespace != null && !namespace.equals( getNamespace () ) )
|| (name != null && !name.equals( getName() ) ) )
throw new XmlPullParserException( "expected "+ TYPES[ type ]+getPositionDescription());
| |
| setFeature | back to summary |
|---|---|
| public void setFeature(String feature, boolean value) throws XmlPullParserException Implements org. Doc from org. Use this call to change the general behaviour of the parser, such as namespace processing or doctype declaration handling. This method must be called before the first call to next or nextToken. Otherwise, an exception is thrown. Example: call setFeature(FEATURE_PROCESS_NAMESPACES, true) in order to switch on namespace processing. The initial settings correspond to the properties requested from the XML Pull Parser factory. If none were requested, all feautures are deactivated by default.
| |
| setInput | back to summary |
|---|---|
| public void setInput(Reader reader) throws XmlPullParserException Implements org. Doc from org. Set the input source for parser to the given reader and resets the parser. The event type is set to the initial value START_DOCUMENT. Setting the reader to null will just stop parsing and reset parser state, allowing the parser to free internal resources such as parsing buffers. | |
| setInput | back to summary |
|---|---|
| public void setInput(InputStream is, String _enc) throws XmlPullParserException Implements org. Doc from org. Sets the input stream the parser is going to process. This call resets the parser state and sets the event type to the initial value START_DOCUMENT. Note If an input encoding string is passed, it MUST be used. Otherwise, if inputEncoding is null, the parser SHOULD try to determine input encoding following XML 1.0 specification (see below). If encoding detection is supported then following feature http://xmlpull.org/v1/doc/features.html#detect-encoding MUST be true amd otherwise it must be false
| |
| setProperty | back to summary |
|---|---|
| public void setProperty(String property, Object value) throws XmlPullParserException Implements org. Doc from org. Set the value of a property. The property name is any fully-qualified URI.
| |
| skip | back to summary |
|---|---|
| private final void skip() throws IOException | |
| skipSubTree | back to summary |
|---|---|
| public void skipSubTree() throws XmlPullParserException, IOException Skip sub tree that is currently porser positioned on. Note parser must be on START_TAG and when funtion returns parser will be positioned on corresponding END_TAG. | |