()
| 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 |
no test coverage detected