MCPcopy Create free account
hub / github.com/dumbledore/AlbiteREADER / skipSubTree

Method skipSubTree

src/org/kxml2/io/KXmlParser.java:1423–1435  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1421 // Implementation copied from Alek's mail...
1422
1423 public void skipSubTree() throws XmlPullParserException, IOException {
1424 require(START_TAG, null, null);
1425 int level = 1;
1426 while (level > 0) {
1427 int eventType = next();
1428 if (eventType == END_TAG) {
1429 --level;
1430 }
1431 else if (eventType == START_TAG) {
1432 ++level;
1433 }
1434 }
1435 }
1436}

Callers

nothing calls this directly

Calls 2

requireMethod · 0.95
nextMethod · 0.95

Tested by

no test coverage detected