Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

javax.ide.extension
Class ElementName

java.lang.Object
  extended by javax.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.

Overrides:
toString in class java.lang.Object
Returns:
a string representation of this element name.

hashCode

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

Overrides:
hashCode in class java.lang.Object
Returns:
a hash code.

equals

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

Overrides:
equals in class java.lang.Object
Parameters:
o - another object to compare to this one.
Returns:
true if the objects represent the same element name.

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

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