edu.nrao.sss.webapp.faces.component
Class GraphicalSelectorUIComponent.CsvConverter

java.lang.Object
  extended by edu.nrao.sss.webapp.faces.component.GraphicalSelectorUIComponent.CsvConverter
All Implemented Interfaces:
Converter
Enclosing class:
GraphicalSelectorUIComponent

protected static class GraphicalSelectorUIComponent.CsvConverter
extends Object
implements Converter

Converts from a comma separated value String to a List of Strings and back. Will never return a null List in getAsObject.


Constructor Summary
protected GraphicalSelectorUIComponent.CsvConverter()
           
 
Method Summary
 Object getAsObject(FacesContext context, UIComponent component, String value)
           
 String getAsString(FacesContext context, UIComponent component, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphicalSelectorUIComponent.CsvConverter

protected GraphicalSelectorUIComponent.CsvConverter()
Method Detail

getAsObject

public Object getAsObject(FacesContext context,
                          UIComponent component,
                          String value)
Specified by:
getAsObject in interface Converter

getAsString

public String getAsString(FacesContext context,
                          UIComponent component,
                          Object value)
Specified by:
getAsString in interface Converter


Copyright © 2009. All Rights Reserved.