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

Method NSScope

basex-core/src/main/java/org/basex/data/NSScope.java:31–36  ·  view source on GitHub ↗

Default constructor. @param pre PRE value @param data data reference

(final int pre, final Data data)

Source from the content-addressed store, hash-verified

29 * @param data data reference
30 */
31 NSScope(final int pre, final Data data) {
32 this.data = data;
33 nspaces = data.nspaces;
34 root = nspaces.cursor();
35 cache = nspaces.cache(pre);
36 }
37
38 /**
39 * Refreshes the namespace structure.

Callers

nothing calls this directly

Calls 2

cacheMethod · 0.65
cursorMethod · 0.45

Tested by

no test coverage detected