StringOperator
BinaryOperator
A class for representing "like" operator that is operated on
the supplied two strings.
It accepts two strings firstString
and secondString
. The evaluation of this
operator should return true
if ((firstString.toUpperCase()).indexOf( (secondString.toUpperCase())) > -1),
otherwise return false
.
Object
ComplexExpressionImpl
Operator
StringOperator
StringLike
BinaryOperator
, Cloneable
, Expression
, Serializable
Field Summary |
protected boolean |
|
Fields from com.bea.p13n.expression.operator.string. |
|
Fields from interface com.bea.p13n.expression.operator. |
|
Constructor Summary |
|
|
Method Summary |
public boolean | |
public |
|
public |
|
public |
|
public int |
|
public boolean |
Methods from com.bea.p13n.expression.operator. |
|
Methods from com.bea.p13n.expression.internal. |
addListener, addSubExpression, clearCache, clone, createProxyExpression, getCachedValue, getParent, getSource, getSubExpression, getSubExpressionCount, getUserData, isCached, isCacheEnabled, isEqualitySubExpression, notifyListeners, removeAllSubExpressions, removeListener, removeSubExpression, removeSubExpression, setCachedValue, setCacheEnabled, setParent, setSource, setSubExpression, setUserData, toString, write |
Methods from class java.lang. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods from interface com.bea.p13n.expression.operator. |
|
Methods from interface com.bea.p13n.expression. |
|
Field Detail |
protected boolean caseInsensitiveMatch
Constructor Detail |
public StringLike()
public StringLike(Object
firstString,Object
secondString, boolean patternMatchIgnoreCase)
public StringLike(Object
firstString,Object
secondString)
Method Detail |
public boolean equals(Object
o)
Override to check the caseInsensitiveMatch flag as well.
public Object
getLeftHandSide()
Description copied from BinaryOperator.getLeftHandSide()
public Class
[] getParameterSignature()
Description copied from Expression.getParameterSignature()
Expression
.
Because the sub-expressions within the Expression
are
typically arguments or operands, some type validation is performed
by examining the class types of the sub-expressions against the
Expression
's parameter signature.
public Object
getRightHandSide()
Description copied from BinaryOperator.getRightHandSide()
public int hashCode()Override to check the caseInsensitiveMatch flag as well.
public boolean isCaseInsensitiveMatch()