org.apache.myfaces.tobago.taglib.component
Class FileItemValidatorTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.faces.webapp.ValidatorTag
org.apache.myfaces.tobago.taglib.component.FileItemValidatorTag
- All Implemented Interfaces:
- Serializable, IterationTag, JspTag, Tag
public class FileItemValidatorTag
- extends ValidatorTag
Register an FileItemValidator instance on the UIComponent
associated with the closest parent UIComponent custom action.
- See Also:
- Serialized Form
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 |
FileItemValidatorTag
public FileItemValidatorTag()
getMaxSize
public String getMaxSize()
setMaxSize
public void setMaxSize(String maxSize)
getContentType
public String getContentType()
setContentType
public void setContentType(String contentType)
createValidator
protected Validator createValidator()
throws JspException
- Overrides:
createValidator
in class ValidatorTag
- Throws:
JspException
release
public void release()
- Specified by:
release
in interface Tag
- Overrides:
release
in class ValidatorTag
Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.