|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springmodules.validation.util.condition.AbstractCondition
org.springmodules.validation.util.condition.TypeSpecificCondition
org.springmodules.validation.util.condition.NonNullAcceptingTypeSpecificCondition
org.springmodules.validation.util.condition.string.AbstractStringCondition
org.springmodules.validation.util.condition.string.EqualsIgnoreCaseStringCondition
public class EqualsIgnoreCaseStringCondition
An AbstractStringCondition implementation that checks whether the checked strings equal a specific string
while ignoring the letter casing.
| Field Summary |
|---|
| Fields inherited from class org.springmodules.validation.util.condition.string.AbstractStringCondition |
|---|
EMPTY_STRING |
| Constructor Summary | |
|---|---|
EqualsIgnoreCaseStringCondition(java.lang.String text)
Constructs a new EqualsIgnoreCaseStringCondition with a given text to be compared with the checked strings. |
|
| Method Summary | |
|---|---|
protected boolean |
checkString(java.lang.String text)
Checks whether the given text equals the text that is associated with this condition while ignoring the letter casing. |
java.lang.String |
getText()
|
| Methods inherited from class org.springmodules.validation.util.condition.string.AbstractStringCondition |
|---|
doCheck |
| Methods inherited from class org.springmodules.validation.util.condition.NonNullAcceptingTypeSpecificCondition |
|---|
beforeObjectChecked |
| Methods inherited from class org.springmodules.validation.util.condition.AbstractCondition |
|---|
afterObjectChecked, and, check, or |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EqualsIgnoreCaseStringCondition(java.lang.String text)
text - The text to be compared with the checked strings.| Method Detail |
|---|
protected boolean checkString(java.lang.String text)
checkString in class AbstractStringConditiontext - The text to be checed.
true if the given text equals the text that is associated with this condition,
false otherwise.public java.lang.String getText()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||