org.jaxen.function
Class FalseFunction

java.lang.Object
  extended byorg.jaxen.function.FalseFunction
All Implemented Interfaces:
Function

public class FalseFunction
extends java.lang.Object
implements Function

4.3 boolean false()

Returns false.

Author:
bob mcwhirter (bob @ werken.com)
See Also:
Section 4.3 of the XPath Specification

Constructor Summary
FalseFunction()
          Create a new FalseFunction object.
 
Method Summary
 java.lang.Object call(Context context, java.util.List args)
          Returns Boolean.FALSE
static java.lang.Boolean evaluate()
          Returns false.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FalseFunction

public FalseFunction()
Create a new FalseFunction object.

Method Detail

call

public java.lang.Object call(Context context,
                             java.util.List args)
                      throws FunctionCallException
Returns Boolean.FALSE

Specified by:
call in interface Function
Parameters:
context - the context at the point in the expression when the function is called
args - an empty list
Returns:
Boolean.FALSE
Throws:
FunctionCallException - if args is not empty

evaluate

public static java.lang.Boolean evaluate()
Returns false.

Returns:
Boolean.FALSE


Copyright © 2001-2005 Codehaus. All Rights Reserved.