jd.xml.xpath
Class VariableName

java.lang.Object
  extended byjd.xml.xpath.VariableName

public class VariableName
extends Object

VariableName represents the name of a variable.


Constructor Summary
VariableName(String name, int index, boolean isGlobal)
          Create a VariableName.
 
Method Summary
 boolean equals(Object object)
           
 int getIndex()
          Return the variable name index.
 String getName()
          Return the variable name.
 int hashCode()
           
 boolean isGlobal()
          Return the variable name index.
 String toString()
          Return a string representation of the variable name.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VariableName

public VariableName(String name,
                    int index,
                    boolean isGlobal)
Create a VariableName.

Parameters:
name - the name
index - an index of the name in a namelist.
isGlobal - isGlobal flag.
Method Detail

getName

public String getName()
Return the variable name.


getIndex

public int getIndex()
Return the variable name index.


isGlobal

public boolean isGlobal()
Return the variable name index.


hashCode

public int hashCode()

equals

public boolean equals(Object object)

toString

public String toString()
Return a string representation of the variable name.