Package org.jaxen.function
Class TrueFunction
java.lang.Object
org.jaxen.function.TrueFunction
- All Implemented Interfaces:
Function
4.3 boolean true()
Returns true.
- Author:
- bob mcwhirter (bob @ werken.com)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TrueFunction
public TrueFunction()Create a newTrueFunction
object.
-
-
Method Details
-
call
ReturnsBoolean.TRUE
- Specified by:
call
in interfaceFunction
- Parameters:
context
- ignoredargs
- an empty list- Returns:
Boolean.TRUE
- Throws:
FunctionCallException
- ifargs
is not empty
-
evaluate
Returns true.- Returns:
Boolean.TRUE
-