org.jaxen.expr
Interface VariableReferenceExpr

All Superinterfaces:
Expr, java.io.Serializable
All Known Implementing Classes:
DefaultVariableReferenceExpr

public interface VariableReferenceExpr
extends Expr

Represents an XPath variable reference. This is production 36 in the XPath 1.0 specification:

[36] VariableReference ::= '$' QName


Method Summary
 java.lang.String getPrefix()
          Returns the namespace prefix of the variable.
 java.lang.String getVariableName()
          Returns the local name of the variable.
 
Methods inherited from interface org.jaxen.expr.Expr
evaluate, getText, simplify
 

Method Detail

getPrefix

java.lang.String getPrefix()
Returns the namespace prefix of the variable. This is the empty string for variables with no namespace prefix.

Returns:
the namespace prefix of the variable

getVariableName

java.lang.String getVariableName()
Returns the local name of the variable.

Returns:
the local name of the variable