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

Method isChar

basex-core/src/main/java/org/basex/util/XMLToken.java:179–181  ·  view source on GitHub ↗

Checks if the specified character is an XML letter. @param cp codepoint of the character @return result of check

(final int cp)

Source from the content-addressed store, hash-verified

177 * @return result of check
178 */
179 public static boolean isChar(final int cp) {
180 return isNCChar(cp) || cp == ':';
181 }
182
183 /**
184 * Checks if the specified token is a valid NCName.

Callers 4

splitMethod · 0.95
getColorMethod · 0.95
isNameMethod · 0.95
isNMTokenMethod · 0.95

Calls 1

isNCCharMethod · 0.95

Tested by

no test coverage detected