java.lang.Object
com.sun.faces.application.PropertyEditorHelper
Helper class to aid the ConverterPropertyEditorBase in converting properties.
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddConversionErrorMessage(FacesContext context, UIComponent component, ConverterException ce) Add a conversion error message in the case of a PropertyEditor based conversion error.convertToObject(Class<?> targetClass, String textValue) Convert thetextValueto an object of type targetClass by delegating to a converter.convertToString(Class<?> targetClass, Object value) Convert an object of type targetClass to text by delegating to a converter obtained from the Faces application.protected UIComponentReturn theUIComponentthat is currently being processed. 
- 
Constructor Details
- 
PropertyEditorHelper
 
 - 
 - 
Method Details
- 
convertToObject
 - 
convertToString
 - 
getComponent
Return theUIComponentthat is currently being processed.- Returns:
 - the current component, or null.
 
 - 
addConversionErrorMessage
protected void addConversionErrorMessage(FacesContext context, UIComponent component, ConverterException ce) Add a conversion error message in the case of a PropertyEditor based conversion error.- Parameters:
 context- the involved faces contextcomponent- the involved componentce- the converter exception
 
 -