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

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

public class AngleConverter
extends Object
implements Converter

This class converts a string that is a double followed by a space and then some units into a Angle and the other way around.


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

AngleConverter

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