|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Role public interface HTMLCleaner
Transforms any HTML content into valid XHTML that can be fed to the XHTML Parser for example.
| Method Summary | |
|---|---|
Document |
clean(Reader originalHtmlContent)
Transforms any HTML content into valid XHTML that can be fed to the XHTML Parser for example. |
Document |
clean(Reader originalHtmlContent,
HTMLCleanerConfiguration configuration)
Transforms any HTML content into valid XHTML. |
HTMLCleanerConfiguration |
getDefaultConfiguration()
Allows getting the default configuration that will be used thus allowing the user to configure it like adding some more filters before or after or even remove some filters to completely control what filters will be executed. |
| Method Detail |
|---|
Document clean(Reader originalHtmlContent)
getDefaultConfiguration()).
originalHtmlContent - the original content (HTML) to clean
Document clean(Reader originalHtmlContent,
HTMLCleanerConfiguration configuration)
originalHtmlContent - the original HTML content to be cleaned.configuration - the configuration to use for cleaning the HTML content
HTMLCleanerConfiguration getDefaultConfiguration()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||