Class AbstractInputMetadataTransformer
java.lang.Object
org.primefaces.metadata.transformer.AbstractInputMetadataTransformer
- All Implemented Interfaces:
MetadataTransformer
- Direct Known Subclasses:
BeanValidationInputMetadataTransformer
public abstract class AbstractInputMetadataTransformer
extends Object
implements MetadataTransformer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected int
getMaxlength
(javax.faces.component.UIInput input) protected boolean
isMaxlenghtSet
(javax.faces.component.UIInput input) protected void
setMaxlength
(javax.faces.component.UIInput input, int maxlength) void
transform
(javax.faces.context.FacesContext context, PrimeApplicationContext applicationContext, javax.faces.component.UIComponent component) protected abstract void
transformInput
(javax.faces.context.FacesContext context, PrimeApplicationContext applicationContext, javax.faces.component.UIInput component)
-
Constructor Details
-
AbstractInputMetadataTransformer
public AbstractInputMetadataTransformer()
-
-
Method Details
-
transform
public void transform(javax.faces.context.FacesContext context, PrimeApplicationContext applicationContext, javax.faces.component.UIComponent component) throws IOException - Specified by:
transform
in interfaceMetadataTransformer
- Throws:
IOException
-
transformInput
protected abstract void transformInput(javax.faces.context.FacesContext context, PrimeApplicationContext applicationContext, javax.faces.component.UIInput component) throws IOException - Throws:
IOException
-
setMaxlength
protected void setMaxlength(javax.faces.component.UIInput input, int maxlength) -
getMaxlength
protected int getMaxlength(javax.faces.component.UIInput input) -
isMaxlenghtSet
protected boolean isMaxlenghtSet(javax.faces.component.UIInput input)
-