|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--clark.xpath.GeneralNode
|
+--clark.xpath.UnaryObject
This object represents in general an unary operation, like (- number). It has two attributes: type - an identifier, representing the operation. For details, see Defs class; argument - a GeneralNode, representing the first operand when to it is applied eval()
| Constructor Summary | |
UnaryObject(short operation_,
clark.xpath.GeneralNode arg)
|
|
| 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)
Each successor class of GeneralNode has its own method eval() for its specific evaluation. |
short |
getNodeType()
Returns the type of the node. |
short |
getReturnType()
Returns the expected return type after the evaluation |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public UnaryObject(short operation_,
clark.xpath.GeneralNode arg)
| Method Detail |
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 | ||||||||