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

Method next

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

Source from the content-addressed store, hash-verified

1316 }
1317
1318 public int next() throws XmlPullParserException, IOException {
1319
1320 txtPos = 0;
1321 isWhitespace = true;
1322 int minType = 9999;
1323 token = false;
1324
1325 do {
1326 nextImpl();
1327 if (type < minType)
1328 minType = type;
1329 // if (curr <= TEXT) type = curr;
1330 }
1331 while (minType > ENTITY_REF // ignorable
1332 || (minType >= TEXT && peekType() >= TEXT));
1333
1334 type = minType;
1335 if (type > TEXT)
1336 type = TEXT;
1337
1338 return type;
1339 }
1340
1341 public int nextToken() throws XmlPullParserException, IOException {
1342

Callers 3

nextTagMethod · 0.95
nextTextMethod · 0.95
skipSubTreeMethod · 0.95

Calls 2

nextImplMethod · 0.95
peekTypeMethod · 0.95

Tested by

no test coverage detected