Package org.xwiki.wysiwyg.filter
Class ConversionFilter
- java.lang.Object
-
- org.xwiki.wysiwyg.filter.ConversionFilter
-
- All Implemented Interfaces:
javax.servlet.Filter
public class ConversionFilter extends Object implements javax.servlet.Filter
This filter is used to convert the values of request parameters that require HTML conversion before being processed. A HTML editor can use this filter to convert its output to a specific syntax before it is saved.- Version:
- $Id: 995db15d284b9d1b4a20cc9242ddfc5b0b240c8e $
-
-
Constructor Summary
Constructors Constructor Description ConversionFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
void
doFilter(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res, javax.servlet.FilterChain chain)
void
init(javax.servlet.FilterConfig config)
-
-
-
Method Detail
-
destroy
public void destroy()
- Specified by:
destroy
in interfacejavax.servlet.Filter
-
doFilter
public void doFilter(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
- Specified by:
doFilter
in interfacejavax.servlet.Filter
- Throws:
IOException
javax.servlet.ServletException
-
init
public void init(javax.servlet.FilterConfig config) throws javax.servlet.ServletException
- Specified by:
init
in interfacejavax.servlet.Filter
- Throws:
javax.servlet.ServletException
-
-