public final class BodyQName extends Object
javax.xml.namespace.QName
class.
Each qualified name consists of a namespace URI and a local name.
Instances of this class are immutable and thread-safe.Modifier and Type | Method and Description |
---|---|
static BodyQName |
create(String uri,
String local)
Creates a new qualified name using a namespace URI and local name.
|
static BodyQName |
createWithPrefix(String uri,
String local,
String prefix)
Creates a new qualified name using a namespace URI and local name
along with an optional prefix.
|
boolean |
equals(Object obj) |
String |
getLocalPart()
Get the local part of this qualified name.
|
String |
getNamespaceURI()
Get the namespace URI of this qualified name.
|
String |
getPrefix()
Get the optional prefix used with this qualified name, or
null
if no prefix has been assiciated. |
int |
hashCode() |
public static BodyQName create(String uri, String local)
uri
- namespace URIlocal
- local namepublic static BodyQName createWithPrefix(String uri, String local, String prefix)
uri
- namespace URIlocal
- local nameprefix
- optional prefix or @{code null} for no prefixpublic String getNamespaceURI()
public String getLocalPart()
public String getPrefix()
null
if no prefix has been assiciated.null
if no prefix was suppliedCopyright © 2016. All rights reserved.