@Immutable public final class MicroQName extends Object implements IMicroQName
| Constructor and Description |
|---|
MicroQName(String sName) |
MicroQName(String sNamespaceURI,
String sName) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getName() |
String |
getNamespaceURI()
Get the namespace URI
|
int |
hashCode() |
boolean |
hasNamespaceURI()
Check if a namespace URI is present.
|
boolean |
hasNamespaceURI(String sNamespaceURI)
Check if the specified namespace URI is present.
|
boolean |
hasNoNamespaceURI()
Check if no namespace URI is present.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcompareTo, getAsXMLQName, getAsXMLQName@Nullable public String getNamespaceURI()
IMicroQNamegetNamespaceURI in interface IMicroQNamenull if no namespace URI is present.public boolean hasNamespaceURI()
IMicroQNamehasNamespaceURI in interface IMicroQNametrue if a specified namespace URI is present,
false otherwisepublic boolean hasNoNamespaceURI()
IMicroQNamehasNoNamespaceURI in interface IMicroQNametrue if no namespace URI is present,
false otherwisepublic boolean hasNamespaceURI(@Nullable String sNamespaceURI)
IMicroQNamehasNamespaceURI in interface IMicroQNamesNamespaceURI - The namespace URI to check. May not be null.true if the specified namespace URI matches the URI of
this name, false otherwise@Nonnull @Nonempty public String getName()
getName in interface IMicroQNamenull.Copyright © 2014–2018 Philip Helger. All rights reserved.