|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.codestreet.messageforge.RFldConstraintString
Class to represent a constraint on a String message field.
| Constructor Summary | |
protected |
RFldConstraintString()
Ctor. |
| Method Summary | |
boolean |
isValid(RFld fld)
Check if a string message field satisfies the constraint. |
abstract boolean |
isValid(java.lang.String data)
Check if a message field satisfies the constraint. |
void |
validate(RFld fld)
Check if a message field satisfies the constraint. |
void |
validate(RFld fld,
java.lang.String val)
Check if a value satisfies the constraint. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.codestreet.messageforge.RFldConstraint |
errDesc |
| Constructor Detail |
protected RFldConstraintString()
| Method Detail |
public void validate(RFld fld)
throws FieldValidationException
validate in interface RFldConstraintfld - Field to validate.
FieldValidationExceptionRFld
public void validate(RFld fld,
java.lang.String val)
throws FieldValidationException
fld - Field.val - Value to validate.
FieldValidationExceptionpublic boolean isValid(RFld fld)
isValid in interface RFldConstraintfld - Field to validate.
RFldpublic abstract boolean isValid(java.lang.String data)
data - Field to validate.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||