|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--clark.xpath.GeneralNode
|
+--clark.xpath.FunctionCallObject
FunctionCallObject is a specific node in the tree representation of the XPath. It represents a function call. For more details see GeneralNode.
| Constructor Summary | |
FunctionCallObject(short name_,
short arity)
Creates a new function call object with name identifier name_ and arity. |
|
| Method Summary | |
boolean |
checkNodeListResult()
Checks whether the instances of this class will produce a node-list with method eval() |
clark.xpath.AtomicObject |
eval(w3c.dom.Node context)
Evaluates this function call object. |
clark.xpath.GeneralNode[] |
getArguments()
Returns the arguments of this function node. |
short |
getArity()
Returns the arity of the function this node represents. |
short |
getName()
Returns the function name identifier of this node. |
short |
getNodeType()
Returns the type of this node(Defs.FUNCTION_CALL). |
short |
getReturnType()
Returns the expected return type after the evaluation |
void |
setArgument(short index,
clark.xpath.GeneralNode argument)
Sets a new value for a certain argument. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FunctionCallObject(short name_,
short arity)
| Method Detail |
public void setArgument(short index,
clark.xpath.GeneralNode argument)
public short getName()
public short getArity()
public clark.xpath.GeneralNode[] getArguments()
public short getNodeType()
getNodeType in class GeneralNode
public clark.xpath.AtomicObject eval(w3c.dom.Node context)
throws ParseException
eval in class GeneralNodeParseExceptionpublic boolean checkNodeListResult()
GeneralNode
checkNodeListResult in class GeneralNodepublic short getReturnType()
GeneralNode
getReturnType in class GeneralNode
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||