public interface IMetaPropertyFormatter
It's like IFormatter but the format and parse method have a MetaProperty argument, so you can use label, size, scale and other MetaProperty data to do the formatting.
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. |
java.lang.String format(HttpServletRequest request, MetaProperty metaProperty, java.lang.Object object) throws java.lang.Exception
String
to render in HTML.java.lang.Exception
java.lang.Object parse(HttpServletRequest request, MetaProperty metaProperty, java.lang.String string) throws java.lang.Exception
String
obtained from a HTTP request return a java object.java.lang.Exception