clearInitialState()
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VALIDATOR_ID
public static final java.lang.String VALIDATOR_ID
- Converter ID, as defined by the JSF 2.0 specification.
- See Also:
- Constant Field Values
PATTERN_NOT_SET_MESSAGE_ID
public static final java.lang.String PATTERN_NOT_SET_MESSAGE_ID
- This message ID is used when the pattern is
null, or an empty String.
- See Also:
- Constant Field Values
NOT_MATCHED_MESSAGE_ID
public static final java.lang.String NOT_MATCHED_MESSAGE_ID
- This message ID is used when the passed value is not a String, or when
the pattern does not match the passed value.
- See Also:
- Constant Field Values
MATCH_EXCEPTION_MESSAGE_ID
public static final java.lang.String MATCH_EXCEPTION_MESSAGE_ID
- This message ID is used when the pattern is not a valid regular expression, according
to the rules as defined in class
Pattern
- See Also:
- Constant Field Values
EsapiTestValidationComponent
public EsapiTestValidationComponent()
validate
public void validate(FacesContext context,
UIComponent component,
java.lang.Object value)
-
saveState
public java.lang.Object saveState(FacesContext context)
-
restoreState
public void restoreState(FacesContext context,
java.lang.Object state)
-
isTransient
public boolean isTransient()
-
setTransient
public void setTransient(boolean isTransient)
-
setPattern
public void setPattern(java.lang.String pattern)
- The Regular Expression property to validate against. This property must be a ValueExpression
that resolves to a String in the format of the java.util.regex patterns.
- Parameters:
pattern - a ValueExpression that evaluates to a String that is the regular expression pattern
getPattern
Return the ValueExpression that yields the regular expression pattern when evaluated.
- Returns:
- The pattern.
clearInitialState
public void clearInitialState()
initialStateMarked
public boolean initialStateMarked()
markInitialState
public void markInitialState()
|