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 EqualsOperator
SINGLETON
-
Constructor Summary
Constructors Constructor Description EqualsOperator()
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
apply(boolean pAreEqual, Logger pLogger)
Applies the operator given the fact that the two elements are equal.java.lang.String
getOperatorSymbol()
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 java.lang.String getOperatorSymbol()
Returns the symbol representing the operator- Specified by:
getOperatorSymbol
in classBinaryOperator
-
apply
public boolean apply(boolean pAreEqual, Logger pLogger)
Applies the operator given the fact that the two elements are equal.- Specified by:
apply
in classEqualityOperator
-
-