|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.trinidad.validator.RegExpValidator
org.apache.myfaces.trinidadinternal.validator.RegExpValidator
public class RegExpValidator
Field Summary |
---|
Fields inherited from class org.apache.myfaces.trinidad.validator.RegExpValidator |
---|
NO_MATCH_MESSAGE_ID, VALIDATOR_ID |
Fields inherited from interface javax.faces.validator.Validator |
---|
NOT_IN_RANGE_MESSAGE_ID |
Constructor Summary | |
---|---|
RegExpValidator()
|
Method Summary | |
---|---|
java.util.Collection<java.lang.String> |
getClientImportNames()
|
java.lang.String |
getClientLibrarySource(javax.faces.context.FacesContext context)
|
java.lang.String |
getClientScript(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Opportunity for the ClientValidator to return script content. |
java.lang.String |
getClientValidation(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Called to retrieve the appropriate client validation code for the node and context. |
Methods inherited from class org.apache.myfaces.trinidad.validator.RegExpValidator |
---|
equals, getHint, getMessageDetailNoMatch, getPattern, getValueBinding, hashCode, isTransient, restoreState, saveState, setHint, setMessageDetailNoMatch, setPattern, setTransient, setValueBinding, validate |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RegExpValidator()
Method Detail |
---|
public java.lang.String getClientScript(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
This method will be called once per validator instance. Content that should only be written once per request should only be returned once.
getClientScript
in interface org.apache.myfaces.trinidad.validator.ClientValidator
public java.lang.String getClientValidation(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
getClientValidation
in interface org.apache.myfaces.trinidad.validator.ClientValidator
public java.util.Collection<java.lang.String> getClientImportNames()
getClientImportNames
in interface org.apache.myfaces.trinidad.validator.ClientValidator
public java.lang.String getClientLibrarySource(javax.faces.context.FacesContext context)
getClientLibrarySource
in interface org.apache.myfaces.trinidad.validator.ClientValidator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |