Class HtmlTextFormatter

java.lang.Object
org.openxava.formatters.HtmlTextFormatter
All Implemented Interfaces:
IFormatter

public class HtmlTextFormatter extends Object implements IFormatter
Since:
7.0.1
Author:
Javier Paniza
  • Constructor Details

    • HtmlTextFormatter

      public HtmlTextFormatter()
  • Method Details

    • format

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

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