public class XName extends Symbol implements java.io.Externalizable
Constructor and Description |
---|
XName() |
XName(Symbol symbol,
NamespaceBinding namespaceNodes) |
Modifier and Type | Method and Description |
---|---|
static int |
checkName(java.lang.String value)
Check if a string is a valid NMTOKEN, Name, or NCName.
|
NamespaceBinding |
getNamespaceNodes()
Namespace nodes associated with an element.
|
static boolean |
isName(java.lang.String value) |
static boolean |
isNamePart(int ch) |
static boolean |
isNameStart(int ch) |
static boolean |
isNCName(java.lang.String value) |
static boolean |
isNmToken(java.lang.String value) |
void |
readExternal(java.io.ObjectInput in) |
void |
setNamespaceNodes(NamespaceBinding nodes) |
void |
writeExternal(java.io.ObjectOutput out) |
compareTo, equals, equals, getKeyProperty, getKeySymbol, getLocalName, getLocalPart, getName, getNamespace, getNamespaceURI, getPrefix, hasEmptyNamespace, hashCode, hasUnknownNamespace, make, make, makeUninterned, makeUninterned, makeWithUnknownNamespace, matches, matches, parse, readResolve, setNamespace, toString, toString, valueOf, valueOf, valueOf
public XName()
public XName(Symbol symbol, NamespaceBinding namespaceNodes)
public final NamespaceBinding getNamespaceNodes()
public final void setNamespaceNodes(NamespaceBinding nodes)
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
writeExternal
in class Symbol
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
readExternal
in class Symbol
java.io.IOException
java.lang.ClassNotFoundException
public static boolean isNameStart(int ch)
public static boolean isNamePart(int ch)
public static boolean isNmToken(java.lang.String value)
public static boolean isName(java.lang.String value)
public static boolean isNCName(java.lang.String value)
public static int checkName(java.lang.String value)