org.apache.myfaces.custom.regexprvalidator
Class RegExprValidator
java.lang.Object
org.apache.myfaces.custom.regexprvalidator.RegExprValidator
- StateHolder, Validator
public class RegExprValidator
extends java.lang.Object
implements Validator, StateHolder
$Revision: 169651 $ $Date: 2005-05-11 18:14:23 +0200 (Wed, 11 May 2005) $- mwessendorf (latest modification by $Author: grantsmith $)
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.
|
REGEXPR_MESSAGE_ID
public static final String REGEXPR_MESSAGE_ID
The message identifier of the FacesMessage
to be created if
the creditcard check fails.
VALIDATOR_ID
public static final String VALIDATOR_ID
The standard converter id for this converter.
RegExprValidator
public RegExprValidator()
getPattern
public String getPattern()
- the pattern, on which a value should be validated
isTransient
public boolean isTransient()
restoreState
public void restoreState(FacesContext context,
Object state)
saveState
public Object saveState(FacesContext context)
setPattern
public void setPattern(String string)
string
- the pattern, on which a value should be validated
setTransient
public void setTransient(boolean newTransientValue)
validate
public void validate(FacesContext facesContext,
UIComponent uiComponent,
Object value)
throws ValidatorException