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

Method nameId

basex-core/src/main/java/org/basex/data/Data.java:390–392  ·  view source on GitHub ↗

Returns the ID of the name of an element, attribute or processing instruction. @param pre PRE value @return name ID

(final int pre)

Source from the content-addressed store, hash-verified

388 * @return name ID
389 */
390 public final int nameId(final int pre) {
391 return table.read2(pre, 1) & 0x7FFF;
392 }
393
394 /**
395 * Returns the name of an element, attribute or processing instruction.

Callers 13

attValueMethod · 0.95
nameMethod · 0.95
updateMethod · 0.95
insertMethod · 0.95
paintComponentMethod · 0.95
refreshItemsMethod · 0.95
getValueMethod · 0.95
createRowsMethod · 0.95
sortMethod · 0.95
optimizeMethod · 0.80
initMethod · 0.80
moreMethod · 0.80

Calls 1

read2Method · 0.45

Tested by

no test coverage detected