org.apache.myfaces.tobago.internal.taglib.component
Class FileItemValidatorTag

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

public abstract class FileItemValidatorTag
extends javax.faces.webapp.ValidatorTag

Register an FileItemValidator instance on the UIComponent associated with the closest parent UIComponent custom action.

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
FileItemValidatorTag()
           
 
Method Summary
protected  javax.faces.validator.Validator createValidator()
           
abstract  String getContentTypeValue()
           
abstract  String getMaxSizeValue()
           
abstract  boolean isContentTypeSet()
           
abstract  boolean isMaxSizeSet()
           
 
Methods inherited from class javax.faces.webapp.ValidatorTag
doStartTag, release, setBinding, setValidatorId
 
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

FileItemValidatorTag

public FileItemValidatorTag()
Method Detail

getMaxSizeValue

public abstract String getMaxSizeValue()

isMaxSizeSet

public abstract boolean isMaxSizeSet()

getContentTypeValue

public abstract String getContentTypeValue()

isContentTypeSet

public abstract boolean isContentTypeSet()

createValidator

protected javax.faces.validator.Validator createValidator()
                                                   throws javax.servlet.jsp.JspException
Overrides:
createValidator in class javax.faces.webapp.ValidatorTag
Throws:
javax.servlet.jsp.JspException


Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.