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
- Version:
- $Id$
| 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
- See Also:
HTMLCleanerConfiguration.getFilters()
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.
- See Also:
HTMLCleanerConfiguration.getParameters()
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- See Also:
HTMLCleanerConfiguration.setFilters(List)
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- See Also:
HTMLCleanerConfiguration.setParameters(Map)
Copyright © 2004-2011 XWiki. All Rights Reserved.