org.apache.myfaces.taglib.core
Class ValidatorTag

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

public class ValidatorTag
extends ValidatorELTag

Basic Validator implementation.

Since:
1.2
Version:
$Revision: 701829 $ $Date: 2008-10-05 12:06:02 -0500 (Sun, 05 Oct 2008) $
Author:
Andreas Berger (latest modification by $Author: slessard $)
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
ValidatorTag()
           
 
Method Summary
protected  Validator createValidator()
           
 void release()
           
 void setBinding(javax.el.ValueExpression binding)
           
 void setValidatorId(javax.el.ValueExpression validatorId)
           
 void setValidatorIdString(String validatorIdString)
          Use this method to specify the validatorId programmatically.
 
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

ValidatorTag

public ValidatorTag()
Method Detail

setValidatorId

public void setValidatorId(javax.el.ValueExpression validatorId)

setBinding

public void setBinding(javax.el.ValueExpression binding)

setValidatorIdString

public void setValidatorIdString(String validatorIdString)
Use this method to specify the validatorId programmatically.

Parameters:
validatorIdString -

release

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

createValidator

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


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