MCPcopy Create free account
hub / github.com/BaseXdb/basex / next

Method next

basex-core/src/main/java/org/basex/util/XMLAccess.java:39–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37 final BasicNodeIter children = node.childIter();
38 return new BasicNodeIter() {
39 @Override
40 public GNode next() {
41 for(GNode child; (child = children.next()) != null;) {
42 if(child.kind() == Kind.ELEMENT && (name == null || name.eq(child.qname())))
43 return child;
44 }
45 return null;
46 }
47 };
48 }
49

Callers

nothing calls this directly

Calls 4

kindMethod · 0.95
qnameMethod · 0.95
nextMethod · 0.65
eqMethod · 0.65

Tested by

no test coverage detected