public class QNameUtil extends Object
Constructor and Description |
---|
QNameUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
compareQName(QName qname,
Node node) |
static boolean |
contains(Collection<QName> col,
QName qname) |
static Collection<QName> |
createCollection(QName... qnames) |
static String |
getLocalPart(QName name) |
static QName |
getNodeQName(Node node) |
static boolean |
isPrefixUndeclared(String namespacePrefix) |
static boolean |
isTolerateUndeclaredPrefixes() |
static boolean |
isUnqualified(QName targetTypeQName) |
static boolean |
isUri(String string) |
static String |
markPrefixAsUndeclared(String namespacePrefix) |
static boolean |
match(QName a,
QName b)
Matching with considering wildcard namespace (null).
|
static boolean |
match(QName a,
QName b,
boolean caseInsensitive) |
static boolean |
matchAny(QName a,
Collection<QName> col) |
static QName |
nullNamespace(QName qname) |
static String |
qNameToUri(QName qname) |
static void |
reportUndeclaredNamespacePrefix(String prefix,
String context) |
static QName |
resolveNs(QName a,
Collection<QName> col) |
static void |
setTemporarilyTolerateUndeclaredPrefixes(Boolean value) |
static void |
setTolerateUndeclaredPrefixes(boolean value) |
static QName |
uriToQName(String uri) |
static QName |
uriToQName(String uri,
boolean allowUnqualified) |
public static final Trace LOGGER
public static boolean match(QName a, QName b)
public static QName resolveNs(QName a, Collection<QName> col)
public static boolean matchAny(QName a, Collection<QName> col)
public static Collection<QName> createCollection(QName... qnames)
public static boolean isUnqualified(QName targetTypeQName)
public static boolean isTolerateUndeclaredPrefixes()
public static void setTolerateUndeclaredPrefixes(boolean value)
public static void setTemporarilyTolerateUndeclaredPrefixes(Boolean value)
public static void reportUndeclaredNamespacePrefix(String prefix, String context)
public static boolean isPrefixUndeclared(String namespacePrefix)
public static boolean isUri(String string)
public static boolean contains(Collection<QName> col, QName qname)
Copyright © 2016 Evolveum. All rights reserved.