org.eclipse.datatools.enablement.oda.xml.util
Class XMLAttr

java.lang.Object
  extended by org.eclipse.datatools.enablement.oda.xml.util.XMLAttr
All Implemented Interfaces:
IXMLPathNode

public class XMLAttr
extends java.lang.Object
implements IXMLPathNode


Constructor Summary
XMLAttr(java.lang.String name)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getName()
          the name of XML node corresponding with this path node
 java.lang.String getPathString()
          the path string of this path node
 int hashCode()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLAttr

public XMLAttr(java.lang.String name)
Method Detail

getPathString

public java.lang.String getPathString()
Description copied from interface: IXMLPathNode
the path string of this path node

Specified by:
getPathString in interface IXMLPathNode
Returns:

getName

public java.lang.String getName()
Description copied from interface: IXMLPathNode
the name of XML node corresponding with this path node

Specified by:
getName in interface IXMLPathNode
Returns:

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object