org.alfresco.web.ui.repo.converter
Class CharsetConverter
java.lang.Object
org.alfresco.web.ui.repo.converter.CharsetConverter
- All Implemented Interfaces:
- javax.faces.convert.Converter
public class CharsetConverter
- extends java.lang.Object
- implements javax.faces.convert.Converter
Converter class to convert a Charset to a String
- Since:
- 2.1
Field Summary |
static java.lang.String |
CONVERTER_ID
The standard converter id for this converter. |
Method Summary |
java.lang.Object |
getAsObject(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.String value)
|
java.lang.String |
getAsString(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.Object value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONVERTER_ID
public static final java.lang.String CONVERTER_ID
The standard converter id for this converter.
- See Also:
- Constant Field Values
CharsetConverter
public CharsetConverter()
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
getAsString
public java.lang.String getAsString(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.Object value)
-
- Specified by:
getAsString
in interface javax.faces.convert.Converter
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.