|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HtmlModificationListener
Implementors can be registered on CleanerProperties to receive notifications about
modifications made by html cleaner.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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.
void fireUserDefinedModification(boolean certainty,
TagNode tagNode,
ErrorType errorType)
certainty - - true if change made doesn't hurts end document.tagNode - - problematic node.errorType -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||