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

Method nextText

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

Source from the content-addressed store, hash-verified

1374 }
1375
1376 public String nextText() throws XmlPullParserException, IOException {
1377 if (type != START_TAG)
1378 exception("precondition: START_TAG");
1379
1380 next();
1381
1382 String result;
1383
1384 if (type == TEXT) {
1385 result = getText();
1386 next();
1387 }
1388 else
1389 result = "";
1390
1391 if (type != END_TAG)
1392 exception("END_TAG expected");
1393
1394 return result;
1395 }
1396
1397 public void setFeature(String feature, boolean value)
1398 throws XmlPullParserException {

Callers

nothing calls this directly

Calls 3

exceptionMethod · 0.95
nextMethod · 0.95
getTextMethod · 0.95

Tested by

no test coverage detected