Class EqualsOperator
- java.lang.Object
-
- org.apache.taglibs.standard.lang.jstl.BinaryOperator
-
- org.apache.taglibs.standard.lang.jstl.EqualityOperator
-
- org.apache.taglibs.standard.lang.jstl.EqualsOperator
-
public class EqualsOperator extends EqualityOperator
The implementation of the equals operator
- Version:
- $Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: kchung $
- Author:
- Nathan Abramson - Art Technology Group
-
-
Field Summary
Fields Modifier and Type Field Description static EqualsOperatorSINGLETON
-
Constructor Summary
Constructors Constructor Description EqualsOperator()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanapply(boolean pAreEqual, Logger pLogger)Applies the operator given the fact that the two elements are equal.StringgetOperatorSymbol()Returns the symbol representing the operator-
Methods inherited from class org.apache.taglibs.standard.lang.jstl.EqualityOperator
apply
-
Methods inherited from class org.apache.taglibs.standard.lang.jstl.BinaryOperator
shouldCoerceToBoolean, shouldEvaluate
-
-
-
-
Field Detail
-
SINGLETON
public static final EqualsOperator SINGLETON
-
-
Method Detail
-
getOperatorSymbol
public String getOperatorSymbol()
Returns the symbol representing the operator- Specified by:
getOperatorSymbolin classBinaryOperator
-
apply
public boolean apply(boolean pAreEqual, Logger pLogger)Applies the operator given the fact that the two elements are equal.- Specified by:
applyin classEqualityOperator
-
-