org.exist.xpath
Class VarBinding
java.lang.Object
org.exist.xpath.Step
org.exist.xpath.VarBinding
- All Implemented Interfaces:
- Expression
- public class VarBinding
- extends Step
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
protected java.lang.String name
binding
protected Expression binding
VarBinding
public VarBinding(BrokerPool pool,
java.lang.String name,
Expression binding)
VarBinding
public VarBinding(BrokerPool pool,
java.lang.String name)
getName
public java.lang.String getName()
eval
public Value eval(DocumentSet docs,
NodeSet context,
NodeProxy node)
- Description copied from interface:
Expression
- Evaluate the expression represented by this object.
Depending on the context in which this expression is executed,
either context, node or both of them may be set. An implementing
class should know how to handle this. Most classes only expect
context to contain a list of nodes which represents the current
context of this expression.
- Specified by:
eval
in interface Expression
- Specified by:
eval
in class Step
pprint
public java.lang.String pprint()
- Description copied from interface:
Expression
- Return a readable representation of this expression.
This method is called whenever the xpath-query should be
displayed to the user.
- Specified by:
pprint
in interface Expression
- Overrides:
pprint
in class Step
Copyright (C) Wolfgang Meier. All rights reserved.