public class QNameUtil extends Object
Constructor and Description |
---|
QNameUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
compareQName(QName qname,
Node node) |
static Collection<QName> |
createCollection(QName... qnames) |
static QName |
getNodeQName(Node node) |
static boolean |
isPrefixUndeclared(String namespacePrefix) |
static boolean |
isTolerateUndeclaredPrefixes() |
static boolean |
isUnqualified(QName targetTypeQName) |
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) |
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)
Copyright © 2015 evolveum. All rights reserved.