Class NotFunction
java.lang.Object
org.jaxen.function.NotFunction
- All Implemented Interfaces:
Function
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturnsBoolean.TRUEif the boolean value ofargs.get(0)is false, andBoolean.FALSEotherwise.static BooleanReturnsBoolean.TRUEif the boolean value ofobjis false, andBoolean.FALSEotherwise.
-
Constructor Details
-
NotFunction
public NotFunction()Create a newNotFunctionobject.
-
-
Method Details
-
call
ReturnsBoolean.TRUEif the boolean value ofargs.get(0)is false, andBoolean.FALSEotherwise. The boolean value is calculated as if by the XPathbooleanfunction.- Specified by:
callin interfaceFunction- Parameters:
context- the context at the point in the expression where the function is calledargs- a single element list- Returns:
Boolean.TRUEif the boolean value ofobjis false, andBoolean.FALSEotherwise- Throws:
FunctionCallException- ifargsdoes not have exactly one argument
-