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

Method nodeName

basex-core/src/main/java/org/basex/query/func/fn/PlanFn.java:389–392  ·  view source on GitHub ↗

Returns a string representation of the name of the node. @param node node @param parent parent (can be null) @param plan plan @param qc query context @return name

(final GNode node, final GNode parent, final Plan plan,
      final QueryContext qc)

Source from the content-addressed store, hash-verified

387 * @return name
388 */
389 static byte[] nodeName(final GNode node, final GNode parent, final Plan plan,
390 final QueryContext qc) {
391 return nodeName(node.qname(), node.kind() == Kind.ELEMENT, parent, plan, qc);
392 }
393
394 /**
395 * Returns a string representation of the name of the node.

Callers 5

attributesMethod · 0.95
recordMethod · 0.95
mixedMethod · 0.95
itemMethod · 0.80
createMethod · 0.80

Calls 9

eqMethod · 0.95
concatMethod · 0.95
eqNameMethod · 0.80
kindMethod · 0.65
tokenMethod · 0.65
qnameMethod · 0.45
uriMethod · 0.45
localMethod · 0.45
stringMethod · 0.45

Tested by

no test coverage detected