Class BooleanFormatter

×News: OpenXava 7.7 released - March 9 · Read more
java.lang.Object
org.openxava.formatters.BooleanFormatter
All Implemented Interfaces:
IFormatter

public class BooleanFormatter extends Object implements IFormatter
Author:
Javier Paniza
  • Constructor Details

    • BooleanFormatter

      public BooleanFormatter()
  • Method Details

    • format

      public String format(javax.servlet.http.HttpServletRequest request, Object booleanValue)
      Description copied from interface: IFormatter
      From a object return a String to render in HTML.
      Specified by:
      format in interface IFormatter
    • parse

      public Object parse(javax.servlet.http.HttpServletRequest request, String string)
      Description copied from interface: IFormatter
      From a String obtained from a HTTP request return a java object.
      Specified by:
      parse in interface IFormatter
    • isNullAsFalse

      public boolean isNullAsFalse()
    • setNullAsFalse

      public void setNullAsFalse(boolean nullAsFalse)