org.apache.myfaces.trinidadinternal.convert
Class DoubleConverter

java.lang.Object
  extended by javax.faces.convert.DoubleConverter
      extended by org.apache.myfaces.trinidadinternal.convert.DoubleConverter
All Implemented Interfaces:
javax.faces.convert.Converter, org.apache.myfaces.trinidad.convert.ClientConverter

public class DoubleConverter
extends javax.faces.convert.DoubleConverter
implements org.apache.myfaces.trinidad.convert.ClientConverter

Implementation for java.lang.Double values.

Author:
The Oracle ADF Faces Team

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.DoubleConverter
CONVERTER_ID
 
Fields inherited from interface org.apache.myfaces.trinidad.convert.ClientConverter
ALERT_FORMAT_KEY
 
Constructor Summary
DoubleConverter()
           
 
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.DoubleConverter
getAsString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

DoubleConverter

public DoubleConverter()
Method Detail

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.DoubleConverter

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-2007 Apache Software Foundation. All Rights Reserved.