org.jaxen.function

Class TrueFunction

public class TrueFunction extends Object implements Function

4.3 boolean true()

Returns true.

Author: bob mcwhirter (bob @ werken.com)

See Also: XPath Specification

Constructor Summary
TrueFunction()
Create a new TrueFunction object.
Method Summary
Objectcall(Context context, List args)
Returns Boolean.TRUE
static Booleanevaluate()
Returns true.

Constructor Detail

TrueFunction

public TrueFunction()
Create a new TrueFunction object.

Method Detail

call

public Object call(Context context, List args)
Returns Boolean.TRUE

Parameters: context ignored args an empty list

Returns: Boolean.TRUE

Throws: FunctionCallException if args is not empty

evaluate

public static Boolean evaluate()
Returns true.

Returns: Boolean.TRUE