com.novell.xml.xpath.functions
Class xpathTrue

java.lang.Object
  extended bycom.novell.xml.xpath.Function
      extended bycom.novell.xml.xpath.functions.xpathTrue

public class xpathTrue
extends Function

This class implements the XPath true() built-in function


Constructor Summary
xpathTrue()
          Construct an object for the true() function
 
Method Summary
 ExpressionValue invoke(Object[] args)
          Perform true() function
 boolean isConstant()
          Return true if the expression is a constant value.
 String toString()
          Return function name.
 
Methods inherited from class com.novell.xml.xpath.Function
getInstance, getSignature, registerForReset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

xpathTrue

public xpathTrue()
Construct an object for the true() function

Method Detail

invoke

public ExpressionValue invoke(Object[] args)
                       throws XPathEvaluationException
Perform true() function

Overrides:
invoke in class Function
Parameters:
args - List of arguments. No arguments
Returns:
The value true
Throws:
XPathEvaluationException

isConstant

public boolean isConstant()
Return true if the expression is a constant value.

Overrides:
isConstant in class Function
Returns:
true

toString

public String toString()
Return function name.

Returns:
Function name.