public class TrueFunction extends Object implements Function
4.3 boolean true()
Returns true.
Constructor and Description |
---|
TrueFunction()
Create a new
TrueFunction object. |
Modifier and Type | Method and Description |
---|---|
Object |
call(Context context,
List args)
Returns
Boolean.TRUE |
static Boolean |
evaluate()
Returns true.
|
public Object call(Context context, List args) throws FunctionCallException
Boolean.TRUE
call
in interface Function
context
- ignoredargs
- an empty listBoolean.TRUE
FunctionCallException
- if args
is not emptypublic static Boolean evaluate()
Boolean.TRUE
Copyright 2001–2022 The Jaxen Project. All rights reserved.