org.apache.myfaces.commons.validator
Class ValidateCreditCardTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.faces.webapp.ValidatorELTag
          extended by org.apache.myfaces.commons.validator.ValidatorBaseTag
              extended by org.apache.myfaces.commons.validator.ValidateCreditCardTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class ValidateCreditCardTag
extends ValidatorBaseTag

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
ValidateCreditCardTag()
           
 
Method Summary
protected  void _setProperties(javax.faces.validator.Validator val)
           
protected  javax.faces.validator.Validator createValidator()
           
 void release()
           
 void setAmex(javax.el.ValueExpression amex)
           
 void setDiscover(javax.el.ValueExpression discover)
           
 void setMastercard(javax.el.ValueExpression mastercard)
           
 void setNone(javax.el.ValueExpression none)
           
 void setVisa(javax.el.ValueExpression visa)
           
 
Methods inherited from class org.apache.myfaces.commons.validator.ValidatorBaseTag
setDetailMessage, setMessage, setSummaryMessage
 
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

ValidateCreditCardTag

public ValidateCreditCardTag()
Method Detail

setAmex

public void setAmex(javax.el.ValueExpression amex)

setDiscover

public void setDiscover(javax.el.ValueExpression discover)

setMastercard

public void setMastercard(javax.el.ValueExpression mastercard)

setNone

public void setNone(javax.el.ValueExpression none)

setVisa

public void setVisa(javax.el.ValueExpression visa)

createValidator

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

_setProperties

protected void _setProperties(javax.faces.validator.Validator val)
                       throws javax.servlet.jsp.JspException
Overrides:
_setProperties in class ValidatorBaseTag
Throws:
javax.servlet.jsp.JspException

release

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


Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.