|
||||||||
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
Description of the Class
Field Summary | |
protected java.lang.String |
name
|
Fields inherited from class org.exist.xpath.PathExpr |
docs, inPredicate, keepVirtual, LOG, pool, steps |
Constructor Summary | |
Function(BrokerPool pool)
Constructor for the Function object |
|
Function(BrokerPool pool,
java.lang.String name)
Constructor for the Function object |
Method Summary | |
void |
addArgument(Expression expr)
Adds a feature to the Argument attribute of the Function object |
static Function |
createFunction(BrokerPool pool,
java.lang.String name)
Description of the Method |
abstract Value |
eval(DocumentSet docs,
NodeSet context,
NodeProxy node)
Description of the Method |
Expression |
getArgument(int pos)
Gets the argument attribute of the Function object |
int |
getArgumentCount()
Gets the argumentCount attribute of the Function object |
java.lang.String |
getName()
Gets the name attribute of the Function object |
java.lang.String |
pprint()
Description of the Method |
Methods inherited from class org.exist.xpath.PathExpr |
add, add, addDocument, addPath, addPredicate, getDocumentSet, getExpression, getLength, preselect, preselect, returnsType, setDocumentSet, setFirstExpression, setInPredicate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String name
Constructor Detail |
public Function(BrokerPool pool, java.lang.String name)
name
- Description of the Parameterpublic Function(BrokerPool pool)
Method Detail |
public static Function createFunction(BrokerPool pool, java.lang.String name)
name
- Description of the Parameter
public void addArgument(Expression expr)
expr
- The feature to be added to the Argument attributepublic abstract Value eval(DocumentSet docs, NodeSet context, NodeProxy node)
eval
in interface Expression
eval
in class PathExpr
docs
- Description of the Parametercontext
- Description of the Parameternode
- Description of the Parameter
public Expression getArgument(int pos)
pos
- Description of the Parameter
public int getArgumentCount()
public java.lang.String getName()
public java.lang.String pprint()
pprint
in interface Expression
pprint
in class PathExpr
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |