Package de.xima.fc.gui.common.converter
Class GenericStringTrimConverter
- java.lang.Object
 - 
- de.xima.fc.gui.common.converter.GenericStringTrimConverter
 
 
- 
- All Implemented Interfaces:
 javax.faces.convert.Converter<Object>
public class GenericStringTrimConverter extends Object implements javax.faces.convert.Converter<Object>
Similar toStringTrimConverter, but does not register itself automatically andObjectas its target type. The actual runtime type of the value should still be stringString, but this converter is useful when your model has a type parameter that is set toString#. In this case, JSF will detect the type asObjectand will not apply theStringTrimConverter. You can explicitly set this converter if you need the value to be trimmed.- Since:
 - 7.0.11
 - Author:
 - XIMA MEDIA GmbH
 
 
- 
- 
Constructor Summary
Constructors Constructor Description GenericStringTrimConverter() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetAsObject(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String value)StringgetAsString(javax.faces.context.FacesContext context, javax.faces.component.UIComponent cmp, Object value) 
 -