org.jaxen.function

Class FalseFunction

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

Object
call(Context context, List args)
Returns Boolean.FALSE
static Boolean
evaluate()
Returns false.

Constructor Details

FalseFunction

public FalseFunction()
Create a new FalseFunction object.

Method Details

call

public Object call(Context context,
                   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 Boolean evaluate()
Returns false.
Returns:
Boolean.FALSE