|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.rave.web.ui.validator.ValueMatchesOptionsValidator
public class ValueMatchesOptionsValidator
Use this validator to check the number of characters in a string when you need to set the validation messages.
| Field Summary | |
|---|---|
static java.lang.String |
VALIDATOR_ID
The converter id for this converter. |
| Fields inherited from interface javax.faces.validator.Validator |
|---|
NOT_IN_RANGE_MESSAGE_ID |
| Constructor Summary | |
|---|---|
ValueMatchesOptionsValidator()
Creates a new instance of StringLengthValidator |
|
| Method Summary | |
|---|---|
java.lang.String |
getMessage()
Getter for property message. |
void |
setMessage(java.lang.String message)
Setter for property message. |
void |
validate(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.Object value)
Validate the value with regard to a UIComponent and a
FacesContext. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String VALIDATOR_ID
The converter id for this converter.
| Constructor Detail |
|---|
public ValueMatchesOptionsValidator()
| Method Detail |
|---|
public void validate(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.Object value)
throws javax.faces.validator.ValidatorException
Validate the value with regard to a UIComponent and a
FacesContext.
validate in interface javax.faces.validator.Validatorcontext - The FacesContextcomponent - The component to be validatedvalue - The submitted value of the component
javax.faces.validator.ValidatorException - if the value is not validpublic java.lang.String getMessage()
public void setMessage(java.lang.String message)
message - New value of property message.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||