Class WebURLFormatter

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

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

    • WebURLFormatter

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