clark.xpath
Class MultipleVarObject

java.lang.Object
  |
  +--clark.xpath.GeneralNode
        |
        +--clark.xpath.MultipleVarObject
All Implemented Interfaces:
java.io.Serializable

public class MultipleVarObject
extends GeneralNode
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
MultipleVarObject(java.util.Vector varNames, java.util.Vector xpaths, clark.xpath.GeneralNode mainExpr)
           
 
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)
          The method in all successor classes of GeneralNode overides one and the same method.
 short getNodeType()
          Return the type of this object.
 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

MultipleVarObject

public MultipleVarObject(java.util.Vector varNames,
                         java.util.Vector xpaths,
                         clark.xpath.GeneralNode mainExpr)
Method Detail

getNodeType

public short getNodeType()
Return the type of this object. All successor classes s of GeneralNode have an unique type.

Specified by:
getNodeType in class GeneralNode

eval

public clark.xpath.AtomicObject eval(w3c.dom.Node context)
                              throws ParseException
The method in all successor classes of GeneralNode overides one and the same method. The purpose of this method is to evaluate each object without knowing its specific class. Each such a method returns an AtomicObject.

Specified by:
eval in class GeneralNode
ParseException

checkNodeListResult

public boolean checkNodeListResult()
Description copied from class: GeneralNode
Checks whether the instances of this class will produce a node-list with method eval()

Specified by:
checkNodeListResult in class GeneralNode

getReturnType

public short getReturnType()
Description copied from class: GeneralNode
Returns the expected return type after the evaluation

Specified by:
getReturnType in class GeneralNode