|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exist.xpath.PathExpr
org.exist.xpath.Function
org.exist.xpath.FunContains
Description of the Class
Field Summary | |
protected java.util.ArrayList |
containsExpr
|
protected NodeSet[][] |
hits
|
protected PathExpr |
path
|
protected java.lang.String[] |
terms
|
protected int |
type
|
Fields inherited from class org.exist.xpath.Function |
name |
Fields inherited from class org.exist.xpath.PathExpr |
docs, inPredicate, keepVirtual, pool, steps |
Constructor Summary | |
FunContains(BrokerPool pool,
int type)
Constructor for the FunContains object |
|
FunContains(BrokerPool pool,
PathExpr path,
java.lang.String arg)
Constructor for the FunContains object |
Method Summary | |
void |
addTerm(java.lang.String arg)
Adds a feature to the Term attribute of the FunContains object |
Value |
eval(DocumentSet docs,
NodeSet context,
NodeProxy node)
Description of the Method |
java.lang.String |
pprint()
Description of the Method |
DocumentSet |
preselect(DocumentSet in_docs)
Description of the Method |
protected void |
processQuery(DocumentSet in_docs)
Description of the Method |
int |
returnsType()
Description of the Method |
void |
setInPredicate(boolean inPredicate)
This method is called to inform the expression object that it is executed inside an XPath predicate. |
void |
setPath(PathExpr path)
Sets the path attribute of the FunContains object |
Methods inherited from class org.exist.xpath.Function |
addArgument, createFunction, getArgument, getArgumentCount, getName |
Methods inherited from class org.exist.xpath.PathExpr |
add, add, addDocument, addPath, addPredicate, getDocumentSet, getExpression, getLength, preselect, setDocumentSet, setFirstExpression |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.ArrayList containsExpr
protected NodeSet[][] hits
protected PathExpr path
protected java.lang.String[] terms
protected int type
Constructor Detail |
public FunContains(BrokerPool pool, int type)
type
- Description of the Parameterpublic FunContains(BrokerPool pool, PathExpr path, java.lang.String arg)
path
- Description of the Parameterarg
- Description of the ParameterMethod Detail |
public void addTerm(java.lang.String arg)
arg
- The feature to be added to the Term attributepublic Value eval(DocumentSet docs, NodeSet context, NodeProxy node)
Function
eval
in interface Expression
eval
in class Function
docs
- Description of the Parametercontext
- Description of the Parameternode
- Description of the Parameter
public java.lang.String pprint()
pprint
in interface Expression
pprint
in class Function
public DocumentSet preselect(DocumentSet in_docs)
preselect
in interface Expression
preselect
in class PathExpr
in_docs
- Description of the Parameter
protected void processQuery(DocumentSet in_docs)
in_docs
- Description of the Parameterpublic int returnsType()
returnsType
in interface Expression
returnsType
in class PathExpr
public void setPath(PathExpr path)
path
- The new path valuepublic void setInPredicate(boolean inPredicate)
Expression
setInPredicate
in interface Expression
setInPredicate
in class PathExpr
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |