|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exist.xpath.Literal
Field Summary | |
protected java.lang.String |
literalValue
|
Constructor Summary | |
Literal(java.lang.String literal)
|
Method Summary | |
Value |
eval(DocumentSet docs,
NodeSet context,
NodeProxy node)
Evaluate the expression represented by this object. |
java.lang.String |
getLiteral()
|
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String literalValue
Constructor Detail |
public Literal(java.lang.String literal)
Method Detail |
public int returnsType()
Expression
returnsType
in interface Expression
public DocumentSet preselect(DocumentSet in_docs)
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 getLiteral()
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 |