Package org.openxava.formatters
Class HTMLFilterListFormatter
- java.lang.Object
-
- org.openxava.formatters.HTMLFilterListFormatter
-
- All Implemented Interfaces:
IFormatter
public class HTMLFilterListFormatter extends java.lang.Object implements IFormatter
Useful for XSS protection.- Since:
- 5.2.1
- Author:
- Aldo Migliau
-
-
Constructor Summary
Constructors Constructor Description HTMLFilterListFormatter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringformat(javax.servlet.http.HttpServletRequest request, java.lang.Object object)From a object return aStringto render in HTML.java.lang.Objectparse(javax.servlet.http.HttpServletRequest request, java.lang.String string)From aStringobtained from a HTTP request return a java object.
-
-
-
Method Detail
-
format
public java.lang.String format(javax.servlet.http.HttpServletRequest request, java.lang.Object object) throws java.lang.ExceptionDescription copied from interface:IFormatterFrom a object return aStringto render in HTML.- Specified by:
formatin interfaceIFormatter- Throws:
java.lang.Exception
-
parse
public java.lang.Object parse(javax.servlet.http.HttpServletRequest request, java.lang.String string) throws java.lang.ExceptionDescription copied from interface:IFormatterFrom aStringobtained from a HTTP request return a java object.- Specified by:
parsein interfaceIFormatter- Throws:
java.lang.Exception
-
-