|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the base interface implemented by all classes which are part of an xpath-expression.
Method Summary | |
Value |
eval(DocumentSet docs,
NodeSet context,
NodeProxy node)
Evaluate the expression represented by this object. |
java.lang.String |
pprint()
Return a readable representation of this expression. |
DocumentSet |
preselect(DocumentSet in_docs)
Determine the documents, taken from in_docs, for which this expression will possibly yield a result. |
int |
returnsType()
The type of value, this expression returns. |
void |
setInPredicate(boolean inPredicate)
This method is called to inform the expression object that it is executed inside an XPath predicate. |
Method Detail |
public Value eval(DocumentSet docs, NodeSet context, NodeProxy node)
docs
- the set of documents all nodes belong to.context
- the node-set which defines the current context node-set.node
- a single node, taken from context. This defines the node,
the expression should work on.public DocumentSet preselect(DocumentSet in_docs)
public int returnsType()
public void setInPredicate(boolean inPredicate)
inPredicate
- public java.lang.String pprint()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |