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

Method local

basex-core/src/main/java/org/basex/util/Token.java:1373–1376  ·  view source on GitHub ↗

Returns the local name of the specified name. @param name name @return local name

(final byte[] name)

Source from the content-addressed store, hash-verified

1371 * @return local name
1372 */
1373 public static byte[] local(final byte[] name) {
1374 final int i = indexOf(name, ':');
1375 return i == -1 ? name : substring(name, i + 1);
1376 }
1377
1378 /** URI encoder. */
1379 public enum UriEncoder {

Callers 6

attributeMethod · 0.95
nameMethod · 0.95
getLocalNameMethod · 0.95
getLocalNameMethod · 0.95
isIdMethod · 0.45
addMethod · 0.45

Calls 2

indexOfMethod · 0.95
substringMethod · 0.95

Tested by

no test coverage detected