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

Method nsFlag

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

Returns the namespace flag of the addressed element. @param pre PRE value @return namespace flag

(final int pre)

Source from the content-addressed store, hash-verified

443 * @return namespace flag
444 */
445 public final boolean nsFlag(final int pre) {
446 return (table.read1(pre, 1) & 0x80) != 0;
447 }
448
449 /**
450 * Returns all namespace prefixes and URIs that are defined for the specified PRE value.

Callers 6

insertAttributeWithNsMethod · 0.95
namespacesMethod · 0.95
updateMethod · 0.95
addMethod · 0.80
stripNamespaceMethod · 0.80
stripNamespacesMethod · 0.80

Calls 2

read1Method · 0.45
write1Method · 0.45

Tested by 1

insertAttributeWithNsMethod · 0.76