|
XCC/J 6.0-3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.marklogic.xcc.types.XName
public class XName
An Expanded Name, consisting of a (optional) namespace name and a local name. XName instances are immutable and may be shared.
| Constructor Summary | |
|---|---|
XName(String localname)
Construct an XName with the given local name in the default namespace. |
|
XName(String namespace,
String localname)
Construct an XName with the given namespace name and local name. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getLocalname()
This XName's local name. |
String |
getNamespace()
This XName's namespace name, if defined. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public XName(String namespace,
String localname)
namespace - A namespace name as a String. A value of null indicate the default namespace.localname - The local name as a String.public XName(String localname)
new XName (null, "somename")
localname - | Method Detail |
|---|
public String getNamespace()
public String getLocalname()
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
XCC/J 6.0-3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Complete online documentation for MarkLogic Server, XQuery and related components may be found at developer.marklogic.com