edu.nrao.sss.webapp.faces.converter
Class FrequencyRangeConverter

java.lang.Object
  extended by edu.nrao.sss.webapp.faces.converter.FrequencyRangeConverter
All Implemented Interfaces:
Converter

public class FrequencyRangeConverter
extends Object
implements Converter

Note that this converter assumes that the low and high units are the same and does not allow for negative frequencies because the Frequency class does not!


Constructor Summary
FrequencyRangeConverter()
           
 
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

FrequencyRangeConverter

public FrequencyRangeConverter()
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.