Package org.openxava.formatters
Class EnumListFormatter
- java.lang.Object
-
- org.openxava.formatters.EnumListFormatter
-
- All Implemented Interfaces:
IMetaPropertyFormatter
public class EnumListFormatter extends java.lang.Object implements IMetaPropertyFormatter
- Since:
- 6.3
- Author:
- Javier Paniza
-
-
Constructor Summary
Constructors Constructor Description EnumListFormatter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringformat(javax.servlet.http.HttpServletRequest request, MetaProperty metaProperty, java.lang.Object object)From a object return aStringto render in HTML.java.lang.Objectparse(javax.servlet.http.HttpServletRequest request, MetaProperty metaProperty, java.lang.String string)From aStringobtained from a HTTP request return a java object.
-
-
-
Method Detail
-
format
public java.lang.String format(javax.servlet.http.HttpServletRequest request, MetaProperty metaProperty, java.lang.Object object) throws java.lang.ExceptionDescription copied from interface:IMetaPropertyFormatterFrom a object return aStringto render in HTML.- Specified by:
formatin interfaceIMetaPropertyFormatter- Throws:
java.lang.Exception
-
parse
public java.lang.Object parse(javax.servlet.http.HttpServletRequest request, MetaProperty metaProperty, java.lang.String string) throws java.lang.ExceptionDescription copied from interface:IMetaPropertyFormatterFrom aStringobtained from a HTTP request return a java object.- Specified by:
parsein interfaceIMetaPropertyFormatter- Throws:
java.lang.Exception
-
-