be.re.xml
Class ExpandedName

java.lang.Object
  extended by be.re.xml.ExpandedName

public class ExpandedName
extends Object

A struct to represent the expanded name of an XML-element.

Author:
Werner Donné

Field Summary
 String localName
           
 String namespaceURI
          The empty string or null indicates absence of a namespace.
 
Constructor Summary
ExpandedName(Node node)
           
ExpandedName(QName name)
           
ExpandedName(String namespaceURI, String localName)
           
 
Method Summary
 boolean equals(Object o)
           
 int hashCode()
           
 boolean noNamespace()
           
 QName toQName()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

localName

public String localName

namespaceURI

public String namespaceURI
The empty string or null indicates absence of a namespace.

Constructor Detail

ExpandedName

public ExpandedName(String namespaceURI,
                    String localName)

ExpandedName

public ExpandedName(QName name)

ExpandedName

public ExpandedName(Node node)
Method Detail

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

noNamespace

public boolean noNamespace()

toQName

public QName toQName()

toString

public String toString()
Overrides:
toString in class Object