org.apache.cocoon.faces.samples.carstore
Class FormatValidatorTag

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.cocoon.taglib.TagSupport
          extended by org.apache.cocoon.faces.taglib.ValidatorTag
              extended by org.apache.cocoon.faces.samples.carstore.FormatValidatorTag
All Implemented Interfaces:
Poolable, Recyclable, Component, LogEnabled, Tag

public class FormatValidatorTag
extends ValidatorTag

FormatValidatorTag is the tag handler class for FormatValidator tag, format_validator.


Field Summary
protected  String formatPatterns
           
 
Fields inherited from class org.apache.cocoon.taglib.TagSupport
objectModel, parameters, parent, resolver
 
Fields inherited from interface org.apache.cocoon.taglib.Tag
EVAL_BODY, EVAL_PAGE, ROLE, SKIP_BODY
 
Constructor Summary
FormatValidatorTag()
           
 
Method Summary
protected  javax.faces.validator.Validator createValidator()
          Override to create custom validator
 String getFormatPatterns()
           
 void setFormatPatterns(String fmtPatterns)
           
 
Methods inherited from class org.apache.cocoon.faces.taglib.ValidatorTag
doStartTag, getValidatorId, recycle, setValidatorId
 
Methods inherited from class org.apache.cocoon.taglib.TagSupport
doEndTag, findAncestorWithClass, findAttribute, getParent, setParent, setup
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

formatPatterns

protected String formatPatterns
Constructor Detail

FormatValidatorTag

public FormatValidatorTag()
Method Detail

getFormatPatterns

public String getFormatPatterns()

setFormatPatterns

public void setFormatPatterns(String fmtPatterns)

createValidator

protected javax.faces.validator.Validator createValidator()
Description copied from class: ValidatorTag
Override to create custom validator

Overrides:
createValidator in class ValidatorTag


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