public class MoneyFormatter extends java.lang.Object implements IMetaPropertyFormatter
Constructor and Description |
---|
MoneyFormatter() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
format(HttpServletRequest request,
MetaProperty metaProperty,
java.lang.Object object)
From a object return a
String to render in HTML. |
java.lang.Object |
parse(HttpServletRequest request,
MetaProperty metaProperty,
java.lang.String string)
From a
String obtained from a HTTP request return a java object. |
public java.lang.String format(HttpServletRequest request, MetaProperty metaProperty, java.lang.Object object) throws java.lang.Exception
IMetaPropertyFormatter
String
to render in HTML.format
in interface IMetaPropertyFormatter
java.lang.Exception
public java.lang.Object parse(HttpServletRequest request, MetaProperty metaProperty, java.lang.String string) throws java.lang.Exception
IMetaPropertyFormatter
String
obtained from a HTTP request return a java object.parse
in interface IMetaPropertyFormatter
java.lang.Exception