Package org.openxava.formatters
Class BooleanListFormatter
- java.lang.Object
-
- org.openxava.formatters.BooleanListFormatter
-
- All Implemented Interfaces:
IMetaPropertyFormatter
public class BooleanListFormatter extends java.lang.Object implements IMetaPropertyFormatter
- Since:
- 4.8
- Author:
- Javier Paniza
-
-
Constructor Summary
Constructors Constructor Description BooleanListFormatter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
format(javax.servlet.http.HttpServletRequest request, MetaProperty p, java.lang.Object booleanValue)
From a object return aString
to render in HTML.java.lang.Object
parse(javax.servlet.http.HttpServletRequest request, MetaProperty p, java.lang.String string)
From aString
obtained from a HTTP request return a java object.
-
-
-
Method Detail
-
format
public java.lang.String format(javax.servlet.http.HttpServletRequest request, MetaProperty p, java.lang.Object booleanValue)
Description copied from interface:IMetaPropertyFormatter
From a object return aString
to render in HTML.- Specified by:
format
in interfaceIMetaPropertyFormatter
-
parse
public java.lang.Object parse(javax.servlet.http.HttpServletRequest request, MetaProperty p, java.lang.String string)
Description copied from interface:IMetaPropertyFormatter
From aString
obtained from a HTTP request return a java object.- Specified by:
parse
in interfaceIMetaPropertyFormatter
-
-