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

Method delete

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

Deletes the specified namespace URI from the root node. @param uri namespace URI reference

(final byte[] uri)

Source from the content-addressed store, hash-verified

363 * @param uri namespace URI reference
364 */
365 public void delete(final byte[] uri) {
366 final int id = uris.index(uri);
367 if(id != 0) current.delete(id);
368 }
369
370 /**
371 * Deletes the specified number of entries from the namespace structure.

Callers

nothing calls this directly

Calls 6

preMethod · 0.95
parentMethod · 0.95
deleteMethod · 0.95
decrementPreMethod · 0.80
indexMethod · 0.65
findMethod · 0.45

Tested by

no test coverage detected