edu.nrao.sss.webapp.faces.converter
Class PolynomialConverter
java.lang.Object
edu.nrao.sss.webapp.faces.converter.PolynomialConverter
- All Implemented Interfaces:
- Converter
public class PolynomialConverter
- extends Object
- implements Converter
This class allows JSF to automatically convert Polynomials to and from
Strings. The conversion is done using Polynomial.toString() and
Polynomial.parse().
- See Also:
Polynomial.parse(java.lang.String)
,
Polynomial.toString()
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PolynomialConverter
public PolynomialConverter()
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.