Package org.jaxen.function
Class TrueFunction
- java.lang.Object
-
- org.jaxen.function.TrueFunction
-
- All Implemented Interfaces:
Function
public class TrueFunction extends java.lang.Object implements Function
4.3
boolean true()
Returns true.
- Author:
- bob mcwhirter (bob @ werken.com)
- See Also:
- XPath Specification
-
-
Constructor Summary
Constructors Constructor Description TrueFunction()
Create a newTrueFunction
object.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
call(Context context, java.util.List args)
ReturnsBoolean.TRUE
static java.lang.Boolean
evaluate()
Returns true.
-
-
-
Method Detail
-
call
public java.lang.Object call(Context context, java.util.List args) throws FunctionCallException
ReturnsBoolean.TRUE
- Specified by:
call
in interfaceFunction
- Parameters:
context
- ignoredargs
- an empty list- Returns:
Boolean.TRUE
- Throws:
FunctionCallException
- ifargs
is not empty
-
evaluate
public static java.lang.Boolean evaluate()
Returns true.- Returns:
Boolean.TRUE
-
-