Interface ValidateFileItemTagDeclaration
public interface ValidateFileItemTagDeclaration
Register an 
FileItemValidator instance on the UIComponent
 associated with the closest parent UIComponent custom action.- 
Method SummaryModifier and TypeMethodDescriptionvoidsetContentType(jakarta.el.ValueExpression contentType) A list of allowed content types or extensions of the file.voidsetMaxSize(jakarta.el.ValueExpression maxSize) The maximum size of the file in bytes.
- 
Method Details- 
setMaxSizevoid setMaxSize(jakarta.el.ValueExpression maxSize) The maximum size of the file in bytes.
- 
setContentTypevoid setContentType(jakarta.el.ValueExpression contentType) A list of allowed content types or extensions of the file. Examples: "image/png,application/pdf,.xml,.doc".- See Also:
 
 
-