org.apache.myfaces.trinidadinternal.convert
Class ByteConverter
java.lang.Object
javax.faces.convert.ByteConverter
org.apache.myfaces.trinidadinternal.convert.ByteConverter
- All Implemented Interfaces:
- javax.faces.convert.Converter, org.apache.myfaces.trinidad.convert.ClientConverter
@JSFConverter(id="javax.faces.Byte")
public class ByteConverter
- extends javax.faces.convert.ByteConverter
- implements org.apache.myfaces.trinidad.convert.ClientConverter
Implementation for java.lang.Byte 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 to an integer |
static java.lang.String |
MAXIMUM_MESSAGE_ID
The message identifier of the FacesMessage to be created if
the value is greater than Byte.MAX_VALUE. |
static java.lang.String |
MINIMUM_MESSAGE_ID
The message identifier of the FacesMessage to be created if
the value is less than Byte.MIN_VALUE. |
| Fields inherited from class javax.faces.convert.ByteConverter |
BYTE_ID, CONVERTER_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.ByteConverter |
getAsString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAXIMUM_MESSAGE_ID
public static final java.lang.String MAXIMUM_MESSAGE_ID
The message identifier of the FacesMessage to be created if
the value is greater than Byte.MAX_VALUE.
The message format string for this
message may optionally include a {2} placeholder, which
will be replaced by Byte.MAX_VALUE.
- See Also:
- Constant Field Values
MINIMUM_MESSAGE_ID
public static final java.lang.String MINIMUM_MESSAGE_ID
The message identifier of the FacesMessage to be created if
the value is less than Byte.MIN_VALUE.
The message format string for this
message may optionally include a {2} placeholder, which
will be replaced by Byte.MIN_VALUE.
- See Also:
- Constant Field Values
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 to an integer
- See Also:
- Constant Field Values
ByteConverter
public ByteConverter()
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.ByteConverter
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
getClientLibrarySource
public java.lang.String getClientLibrarySource(javax.faces.context.FacesContext context)
- Specified by:
getClientLibrarySource 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
Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.