Class HTMLFilterListFormatter

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

public class HTMLFilterListFormatter extends Object implements IFormatter
Useful for XSS protection.
Since:
5.2.1
Author:
Aldo Migliau
  • Constructor Details

    • HTMLFilterListFormatter

      public HTMLFilterListFormatter()
  • 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 string) 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