| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.commons.validator.ValidatorBase
org.apache.myfaces.commons.validator.AbstractRegExprValidator
@JSFValidator(name="mcv:validateRegExpr",
              clazz="org.apache.myfaces.commons.validator.RegExprValidator",
              tagClass="org.apache.myfaces.commons.validator.ValidateRegExprTag",
              serialuidtag="-449945949876262076L")
public abstract class AbstractRegExprValidatorA custom validator for reg. expr., based upons Jakarta Commons. Unless otherwise specified, all attributes accept static values or EL expressions.
| Field Summary | |
|---|---|
| static java.lang.String | REGEXPR_MESSAGE_IDThe message identifier of the FacesMessageto be created if
 the regex check fails. | 
| static java.lang.String | VALIDATOR_IDThe standard converter id for this converter. | 
| Fields inherited from interface javax.faces.validator.Validator | 
|---|
| NOT_IN_RANGE_MESSAGE_ID | 
| Constructor Summary | |
|---|---|
| AbstractRegExprValidator() | |
| Method Summary | |
|---|---|
| abstract  java.lang.String | getPattern()the pattern, which is the base of the validation. | 
| abstract  java.lang.String | getPatternExpression()the pattern, which is the base of the validation. | 
| abstract  void | setPattern(java.lang.String string) | 
|  void | validate(javax.faces.context.FacesContext facesContext,
         javax.faces.component.UIComponent uiComponent,
         java.lang.Object value) | 
| Methods inherited from class org.apache.myfaces.commons.validator.ValidatorBase | 
|---|
| clearInitialState, getDetailMessage, getFacesContext, getFacesMessage, getMessage, getStateHelper, getStateHelper, getStringValue, getSummaryMessage, getValueExpression, initialStateMarked, isTransient, markInitialState, restoreAttachedState, restoreState, saveAttachedState, saveState, setDetailMessage, setMessage, setSummaryMessage, setTransient, setValueExpression | 
| 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 standard converter id for this converter.
public static final java.lang.String REGEXPR_MESSAGE_ID
The message identifier of the FacesMessage to be created if
 the regex check fails.
| Constructor Detail | 
|---|
public AbstractRegExprValidator()
| Method Detail | 
|---|
public void validate(javax.faces.context.FacesContext facesContext,
                     javax.faces.component.UIComponent uiComponent,
                     java.lang.Object value)
              throws javax.faces.validator.ValidatorException
javax.faces.validator.ValidatorException@JSFProperty(literalOnly=true) public abstract java.lang.String getPattern()
public abstract void setPattern(java.lang.String string)
string - the pattern, on which a value should be validated@JSFProperty public abstract java.lang.String getPatternExpression()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||