org.jaxen.function
Class FalseFunction

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

public class FalseFunction
extends 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.
 
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 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


Copyright © 2001-2008 Codehaus. All Rights Reserved.