org.xwiki.xml.internal.html
Class DefaultHTMLCleanerConfiguration
java.lang.Object
org.xwiki.xml.internal.html.DefaultHTMLCleanerConfiguration
- All Implemented Interfaces:
- HTMLCleanerConfiguration
public class DefaultHTMLCleanerConfiguration
- extends Object
- implements HTMLCleanerConfiguration
Default and basic implementation used by the DefaultHTMLCleaner
implementation.
- Since:
- 1.8.1
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultHTMLCleanerConfiguration
public DefaultHTMLCleanerConfiguration()
getFilters
public List<HTMLFilter> getFilters()
- Specified by:
getFilters
in interface HTMLCleanerConfiguration
- Returns:
- the ordered list of filters to use for cleaning the HTML content
getParameters
public Map<String,String> getParameters()
- Specified by:
getParameters
in interface HTMLCleanerConfiguration
- Returns:
- the list of cleaning parameters that will be used to clean the HTML content. Note that
these parameters are implementation dependent and thus depend on the HTML cleaner
implementation used.
setFilters
public void setFilters(List<HTMLFilter> filters)
- Specified by:
setFilters
in interface HTMLCleanerConfiguration
- Parameters:
filters
- the ordered list of filters to use for cleaning the HTML content
setParameters
public void setParameters(Map<String,String> parameters)
- Specified by:
setParameters
in interface HTMLCleanerConfiguration
- Parameters:
parameters
- the list of cleaning parameters that will be used to clean the HTML content