Lines Matching defs:token
109 * Resolves FQN into a policy XML token. The version of the token can be determined
113 * @return XML token enumeration that represents this fully qualified name.
114 * If the token or the namespace is not resolved {@link XmlToken#UNKNOWN} value
120 XmlToken token = XmlToken.resolveToken(name.getLocalPart());
121 if (nsVersion.tokenToQNameCache.containsKey(token)) {
122 return token;
137 for (XmlToken token : supportedTokens) {
138 temp.put(token, new QName(nsUri, token.toString()));
153 * Resolves XML token into a fully qualified name within given namespace version.
155 * @param token XML token enumeration value.
156 * @return fully qualified name of the {@code token} within given namespace
157 * version. Method returns {@code null} in case the token is not supported in
161 public QName asQName(XmlToken token) throws IllegalArgumentException {
162 return tokenToQNameCache.get(token);