|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.fzi.XPath.Expr | +--de.fzi.XPath.Variable
This class represents a variable.
Fields inherited from class de.fzi.XPath.Expr |
ADD_OP, AND_OP, DIV_OP, EQ_OP, GT_OP, GTE_OP, LT_OP, LTE_OP, MOD_OP, MUL_OP, NEQ_OP, NOP_OP, OR_OP, SUB_OP, U_OP |
Constructor Summary | |
Variable(java.lang.String thename)
Intantiates a variable with given name. |
Method Summary | |
java.lang.String |
getName()
Returns the name of this variable. |
java.lang.String |
toString()
Returns string representation of this variable. |
Methods inherited from class de.fzi.XPath.Expr |
getNegative, getOperator, getOperatorAsString, getOperatorName, getPositive, setOperator, setPositive |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Variable(java.lang.String thename)
thename
- name of the variable.Method Detail |
public java.lang.String toString()
toString
in class Expr
"$"
plus variable name, for example "$foo"
.public java.lang.String getName()
"$"
sign.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |