org.apache.myfaces.custom.regexprvalidator
public class RegExprValidator extends Object implements Validator, StateHolder
Version: $Revision: 169651 $ $Date: 2005-05-11 18:14:23 +0200 (Wed, 11 May 2005) $
| Field Summary | |
|---|---|
| static String | REGEXPR_MESSAGE_ID The message identifier of the FacesMessage to be created if the creditcard check fails. |
| static String | VALIDATOR_ID The standard converter id for this converter. |
| Constructor Summary | |
|---|---|
| RegExprValidator() | |
| Method Summary | |
|---|---|
| String | getPattern() |
| boolean | isTransient() |
| void | restoreState(FacesContext context, Object state) |
| Object | saveState(FacesContext context) |
| void | setPattern(String string) |
| void | setTransient(boolean newTransientValue) |
| void | validate(FacesContext facesContext, UIComponent uiComponent, Object value) |
The message identifier of the FacesMessage to be created if the creditcard check fails.
The standard converter id for this converter.
Returns: the pattern, on which a value should be validated
Parameters: string the pattern, on which a value should be validated