org.apache.myfaces.taglib.core
Class ValidateRegexTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.faces.webapp.ValidatorELTag
          extended by org.apache.myfaces.taglib.core.ValidateRegexTag
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class ValidateRegexTag
extends ValidatorELTag

JSP Tag class for RegexValidator.

Since:
2.0
Author:
Jan-Kees van Andel
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
ValidateRegexTag()
           
 
Method Summary
protected  Validator createValidator()
           
 javax.el.ValueExpression getBinding()
           
 javax.el.ValueExpression getPattern()
           
 void release()
           
 void setBinding(javax.el.ValueExpression binding)
           
 void setPattern(javax.el.ValueExpression pattern)
           
 
Methods inherited from class javax.faces.webapp.ValidatorELTag
doStartTag
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidateRegexTag

public ValidateRegexTag()
Method Detail

createValidator

protected Validator createValidator()
                             throws javax.servlet.jsp.JspException
Specified by:
createValidator in class ValidatorELTag
Throws:
javax.servlet.jsp.JspException

getBinding

public javax.el.ValueExpression getBinding()

setBinding

public void setBinding(javax.el.ValueExpression binding)

getPattern

public javax.el.ValueExpression getPattern()

setPattern

public void setPattern(javax.el.ValueExpression pattern)

release

public void release()
Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class javax.servlet.jsp.tagext.TagSupport


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.