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

Method cache

basex-core/src/main/java/org/basex/data/Namespaces.java:257–261  ·  view source on GitHub ↗

Caches and returns all namespace nodes in the namespace structure with a minimum PRE value. @param pre minimum PRE value of a namespace node @return list of namespace nodes

(final int pre)

Source from the content-addressed store, hash-verified

255 * @return list of namespace nodes
256 */
257 ArrayList<NSNode> cache(final int pre) {
258 final ArrayList<NSNode> list = new ArrayList<>();
259 addNodes(root, list, pre);
260 return list;
261 }
262
263 /**
264 * Recursively adds namespace nodes to a list, starting with the children of a node.

Callers

nothing calls this directly

Calls 1

addNodesMethod · 0.95

Tested by

no test coverage detected