Extension SDK 10.1.3.36.73

javax.ide.extension
Class ElementName

java.lang.Object
  extended byjavax.ide.extension.ElementName

public final class ElementName
extends java.lang.Object

Represents a qualified element name in XML. A qualified element name consists of a namespace URI (which may be null) and a local name.


Constructor Summary
ElementName(java.lang.String namespaceURI, java.lang.String localName)
          Constructs an ElementName with the specified namespace URI and local name.
 
Method Summary
 boolean equals(java.lang.Object o)
          Get whether this element name equals some other object.
 java.lang.String getLocalName()
          The local name of this element name.
 java.lang.String getNamespaceURI()
          Get the namespace uri of this element name.
 int hashCode()
          Get a hashcode for this object.
 java.lang.String toString()
          Get a string representation of this element name.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ElementName

public ElementName(java.lang.String namespaceURI,
                   java.lang.String localName)
Constructs an ElementName with the specified namespace URI and local name.

Parameters:
namespaceURI - the namespace uri of the qualified name. May be null.
localName - the local name of the qualified name. Must not be null.
Method Detail

getNamespaceURI

public java.lang.String getNamespaceURI()
Get the namespace uri of this element name.

Returns:
the namespace uri of this element name.

getLocalName

public java.lang.String getLocalName()
The local name of this element name.

Returns:
the local name of this element name.

toString

public java.lang.String toString()
Get a string representation of this element name.

Returns:
a string representation of this element name.

hashCode

public int hashCode()
Get a hashcode for this object.

Returns:
a hash code.

equals

public boolean equals(java.lang.Object o)
Get whether this element name equals some other object.

Parameters:
o - another object to compare to this one.
Returns:
true if the objects represent the same element name.

Extension SDK 10.1.3.36.73

 

Copyright © 1997, 2005, Oracle.All rights reserved.