gnu.xml
Class XName

java.lang.Object
  extended by javax.xml.namespace.QName
      extended by gnu.xml.SName
          extended by gnu.xml.XName
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable

public class XName
extends SName
implements java.io.Externalizable

A QName with namespace nodes [and future optional type annotation].

See Also:
Serialized Form

Constructor Summary
XName()
           
XName(SName name, NamespaceBinding namespaceNodes)
           
XName(Symbol qname, NamespaceBinding namespaceNodes)
           
XName(Symbol qname, java.lang.String prefix, NamespaceBinding namespaceNodes)
           
 
Method Summary
 java.lang.String getLocalName()
          Deprecated.  
 NamespaceBinding getNamespaceNodes()
           
 void readExternal(java.io.ObjectInput in)
           
 java.lang.Object readResolve()
           
 void setNamespaceNodes(NamespaceBinding nodes)
           
 void writeExternal(java.io.ObjectOutput out)
           
 
Methods inherited from class gnu.xml.SName
equals, getSymbol, make, setSymbol, toString
 
Methods inherited from class javax.xml.namespace.QName
equals, getLocalPart, getNamespaceURI, getPrefix, hashCode, valueOf
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XName

public XName()

XName

public XName(Symbol qname,
             NamespaceBinding namespaceNodes)

XName

public XName(Symbol qname,
             java.lang.String prefix,
             NamespaceBinding namespaceNodes)

XName

public XName(SName name,
             NamespaceBinding namespaceNodes)
Method Detail

getNamespaceNodes

public final NamespaceBinding getNamespaceNodes()

setNamespaceNodes

public final void setNamespaceNodes(NamespaceBinding nodes)

getLocalName

public final java.lang.String getLocalName()
Deprecated. 


writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable
Overrides:
writeExternal in class SName
Throws:
java.io.IOException

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Specified by:
readExternal in interface java.io.Externalizable
Overrides:
readExternal in class SName
Throws:
java.io.IOException
java.lang.ClassNotFoundException

readResolve

public java.lang.Object readResolve()
                             throws java.io.ObjectStreamException
Overrides:
readResolve in class SName
Throws:
java.io.ObjectStreamException