|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ode.utils.QNameUtils
public class QNameUtils
Utility methods for dealing with XML qualified names (QName
s).
Method Summary | |
---|---|
static java.lang.String |
fromQName(javax.xml.namespace.QName qname)
Create a string representation from a QName . |
static javax.xml.namespace.QName |
toQName(java.lang.String s)
Create a QName object from its stringified representation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.String fromQName(javax.xml.namespace.QName qname)
QName
. The string will have the form
{URI}localpart
.
qname
- a QName
.
public static javax.xml.namespace.QName toQName(java.lang.String s)
QName
object from its stringified representation.
s
- stringified representation
QName
java.lang.IllegalArgumentException
- if the given string is not a valid stringified QName
.fromQName(javax.xml.namespace.QName)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |