Lines Matching defs:token
117 * This method returns true if the identifier is a "name token"
123 * @param token the string being tested
125 public static boolean isNmtoken(String token) {
126 int length = token.length();
129 if (!XmlChars.isNameChar(token.charAt(i)))
136 * This method returns true if the identifier is a "name token" as
141 * @param token the string being tested
144 public static boolean isNCNmtoken(String token) {
145 return isNmtoken(token) && token.indexOf(':') < 0;