org.apache.myfaces.trinidadinternal.convert
Class FloatConverter
java.lang.Object
javax.faces.convert.FloatConverter
org.apache.myfaces.trinidadinternal.convert.FloatConverter
- All Implemented Interfaces:
- javax.faces.convert.Converter, org.apache.myfaces.trinidad.convert.ClientConverter
@JSFConverter(id="javax.faces.Float")
public class FloatConverter
- extends javax.faces.convert.FloatConverter
- implements org.apache.myfaces.trinidad.convert.ClientConverter
Implementation for java.lang.Float values.
|
Field Summary |
static java.lang.String |
CONVERT_MESSAGE_ID
The message identifier of the FacesMessage to be created if
the value cannot be converted |
| Fields inherited from class javax.faces.convert.FloatConverter |
CONVERTER_ID, FLOAT_ID, STRING_ID |
| Fields inherited from interface org.apache.myfaces.trinidad.convert.ClientConverter |
ALERT_FORMAT_KEY |
|
Method Summary |
java.lang.Object |
getAsObject(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.String value)
|
java.lang.String |
getClientConversion(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
|
java.util.Collection<java.lang.String> |
getClientImportNames()
|
java.lang.String |
getClientLibrarySource(javax.faces.context.FacesContext context)
|
java.lang.String |
getClientScript(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
|
| Methods inherited from class javax.faces.convert.FloatConverter |
getAsString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONVERT_MESSAGE_ID
public static final java.lang.String CONVERT_MESSAGE_ID
The message identifier of the FacesMessage to be created if
the value cannot be converted
- See Also:
- Constant Field Values
FloatConverter
public FloatConverter()
getAsObject
public java.lang.Object getAsObject(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.String value)
- Specified by:
getAsObject in interface javax.faces.convert.Converter- Overrides:
getAsObject in class javax.faces.convert.FloatConverter
getClientScript
public java.lang.String getClientScript(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
- Specified by:
getClientScript in interface org.apache.myfaces.trinidad.convert.ClientConverter
getClientConversion
public java.lang.String getClientConversion(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
- Specified by:
getClientConversion in interface org.apache.myfaces.trinidad.convert.ClientConverter
- Parameters:
context -
- Returns:
getClientImportNames
public java.util.Collection<java.lang.String> getClientImportNames()
- Specified by:
getClientImportNames in interface org.apache.myfaces.trinidad.convert.ClientConverter
getClientLibrarySource
public java.lang.String getClientLibrarySource(javax.faces.context.FacesContext context)
- Specified by:
getClientLibrarySource in interface org.apache.myfaces.trinidad.convert.ClientConverter
Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.