corelib.services.web.components
Class RegularExpressionValidator
java.lang.Object
corelib.services.web.components.WebComponent
corelib.services.web.components.VisualComponent
corelib.services.web.components.Validator
corelib.services.web.components.RegularExpressionValidator
public class RegularExpressionValidator
- extends Validator
Checks if the considered input component's value match with the specified regular expression.
- Since:
- 0.2.0
- Author:
- Dominique Liard
| Methods inherited from class corelib.services.web.components.Validator |
component_renderBegin, component_renderEnd, getClientScript, getComponentToValidate, getCssClassComponentError, getErrorMessage, isValid, setClientScript, setComponentToValidate, setCssClassComponentError, setErrorMessage, setValid |
| Methods inherited from class corelib.services.web.components.VisualComponent |
component_postRender, component_preRender, component_renderChildren, component_renderJavascriptLocalisation, encodeAttributeValue, getCssClass, getCssStyle, getOnClickListener, getSharedAttributesHtmlEncoding, getToolTipText, isVisible, renderElement, setCssClass, setCssStyle, setOnClickListener, setToolTipText, setVisible |
| Methods inherited from class corelib.services.web.components.WebComponent |
addBindingExpression, addChildComponent, component_init, component_load, component_preRepeaterDuplications, getChildComponents, getDataBinding, getElementsByTagName, getId, getWebPage, getXmlNode, setId, setWebPage, setXmlNode |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EMAIL_REG_EXP
public static final java.lang.String EMAIL_REG_EXP
- Since:
- 0.4.0
- See Also:
- Constant Field Values
regularExpression
protected java.lang.String regularExpression
RegularExpressionValidator
public RegularExpressionValidator()
getRegularExpression
public java.lang.String getRegularExpression()
setRegularExpression
public void setRegularExpression(java.lang.String regularExpression)
validate
public void validate()
- Specified by:
validate in class Validator
generateClientValidation
public void generateClientValidation(java.io.PrintWriter out)
- Specified by:
generateClientValidation in class Validator
CAUTION: Ellipse is proposed to you in BETA version to allow evaluation of this framework. Infini Software is released from any responsibility for the use of Ellipse Framework.
Copyright 2012 Infini Software - All Rights Reserved.