|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exist.xpath.FLWR
Field Summary | |
protected java.util.HashMap |
bindings
|
protected java.util.ArrayList |
returnList
|
Constructor Summary | |
FLWR()
|
Method Summary | |
void |
addDocument(DocumentImpl doc)
|
void |
addReturnClause(Expression ret)
|
void |
addVariable(VarBinding v)
|
Value |
eval(DocumentSet docs,
NodeSet context,
NodeProxy node)
Evaluate the expression represented by this object. |
DocumentSet |
getDocumentSet()
|
VarBinding |
getVariable(java.lang.String name)
|
boolean |
hasVariable(java.lang.String name)
|
java.lang.String |
pprint()
Return a readable representation of this expression. |
DocumentSet |
preselect(DocumentSet docs_in)
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.HashMap bindings
protected java.util.ArrayList returnList
Constructor Detail |
public FLWR()
Method Detail |
public int returnsType()
Expression
returnsType
in interface Expression
public void addVariable(VarBinding v)
public boolean hasVariable(java.lang.String name)
public VarBinding getVariable(java.lang.String name)
public void addReturnClause(Expression ret)
public DocumentSet getDocumentSet()
public void addDocument(DocumentImpl doc)
public DocumentSet preselect(DocumentSet docs_in)
Expression
preselect
in interface Expression
public Value eval(DocumentSet docs, NodeSet context, NodeProxy node)
Expression
eval
in interface Expression
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 java.lang.String pprint()
Expression
pprint
in interface Expression
public void setInPredicate(boolean inPredicate)
Expression
setInPredicate
in interface Expression
inPredicate
-
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |