public interface HtmlModificationListener
CleanerProperties to receive notifications about
modifications made by html cleaner.| Modifier and Type | Method and Description |
|---|---|
void |
fireConditionModification(ITagNodeCondition condition,
TagNode tagNode)
Fired when cleaner modifies html due to
ITagNodeCondition match. |
void |
fireHtmlError(boolean certain,
TagNode tagNode,
ErrorType errorType)
Fired when cleaner fixes some error in html syntax.
|
void |
fireUglyHtml(boolean certainty,
TagNode tagNode,
ErrorType errorType)
Fired when cleaner fixes ugly html -- when syntax was correct but task was implemented by weird code.
|
void |
fireUserDefinedModification(boolean certainty,
TagNode tagNode,
ErrorType errorType)
Fired when cleaner modifies html due to user specified rules.
|
void fireHtmlError(boolean certain,
TagNode tagNode,
ErrorType errorType)
certain - - true if change made doesn't hurts end document.tagNode - - problematic node.errorType - void fireUglyHtml(boolean certainty,
TagNode tagNode,
ErrorType errorType)
certainty - - true if change made doesn't hurts end document.tagNode - - problematic node.errorType - void fireConditionModification(ITagNodeCondition condition, TagNode tagNode)
ITagNodeCondition match.condition - that was applied to make the modificationtagNode - - problematic node.Copyright © 2006–2018. All rights reserved.