public class XName extends Object
| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getLocalname()
This XName's local name.
|
String |
getNamespace()
This XName's namespace name, if defined.
|
int |
hashCode() |
String |
toString() |
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 - Copyright © 2016 MarkLogic Corporation. All Rights Reserved.
Complete online documentation for MarkLogic Server, XQuery and related components may be found at developer.marklogic.com