public class ListConverter extends Object implements javax.faces.convert.Converter
This is a variant of the SelectItemsConverter
. See its Javadoc for further documentation.
Constructor and Description |
---|
ListConverter() |
Modifier and Type | Method and Description |
---|---|
Object |
getAsObject(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
String value) |
String |
getAsString(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
Object value) |
void |
setList(List<?> list) |
public Object getAsObject(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String value)
getAsObject
in interface javax.faces.convert.Converter
public String getAsString(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object value)
getAsString
in interface javax.faces.convert.Converter
public void setList(List<?> list)
Copyright © 2012–2014 OmniFaces. All rights reserved.