org.planx.xpath.object
Class XObject

java.lang.Object
  extended by org.planx.xpath.expr.Expression
      extended by org.planx.xpath.object.XObject
Direct Known Subclasses:
XNodeSet, XSimple

public abstract class XObject
extends Expression

An object returned by an XPath expression.


Constructor Summary
XObject()
           
 
Method Summary
abstract  boolean booleanValue()
          Converts this XObject to a boolean value.
 XObject evaluate(Context ctxt, Environment env, Navigator nav)
          Evaluating an XObject just returns the object ifself.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XObject

public XObject()
Method Detail

evaluate

public XObject evaluate(Context ctxt,
                        Environment env,
                        Navigator nav)
                 throws XPathException
Evaluating an XObject just returns the object ifself.

Specified by:
evaluate in class Expression
Throws:
XPathException

booleanValue

public abstract boolean booleanValue()
Converts this XObject to a boolean value.



Copyright © 2010. All Rights Reserved.