public class QNameHelper extends Object
Constructor and Description |
---|
QNameHelper() |
Modifier and Type | Method and Description |
---|---|
static String |
getNormalisedValue(String value)
Get the normalised value of the string.
|
static QName |
toQName(NamespaceContext namespaceContext,
String qualifiedName)
Return the qname represented by the qualified name.
|
static String |
toQualifiedName(QName qname)
Return a qualified representation of the qname.
|
static String |
toQualifiedName(String prefix,
String localName)
Return a qualified representation of the prefix and local name.
|
public static String toQualifiedName(QName qname)
qname
- The qname.public static String toQualifiedName(String prefix, String localName)
prefix
- The prefix.localName
- The local name.public static QName toQName(NamespaceContext namespaceContext, String qualifiedName)
namespaceContext
- The namespace context.qualifiedName
- The qualified name.Copyright © 2017 JBoss by Red Hat. All rights reserved.