public class HtmlModificationListenerLogger extends Object implements HtmlModificationListener
| Constructor and Description |
|---|
HtmlModificationListenerLogger(Logger log) |
| Modifier and Type | Method and Description |
|---|---|
void |
fireConditionModification(ITagNodeCondition condition,
TagNode tagNode)
Fired when cleaner modifies html due to
ITagNodeCondition match. |
void |
fireHtmlError(boolean safety,
TagNode tagNode,
ErrorType errorType)
Fired when cleaner fixes some error in html syntax.
|
void |
fireUglyHtml(boolean safety,
TagNode tagNode,
ErrorType errorType)
Fired when cleaner fixes ugly html -- when syntax was correct but task was implemented by weird code.
|
void |
fireUserDefinedModification(boolean safety,
TagNode tagNode,
ErrorType errorType)
Fired when cleaner modifies html due to user specified rules.
|
public HtmlModificationListenerLogger(Logger log)
public void fireConditionModification(ITagNodeCondition condition, TagNode tagNode)
HtmlModificationListenerITagNodeCondition match.fireConditionModification in interface HtmlModificationListenercondition - that was applied to make the modificationtagNode - - problematic node.public void fireHtmlError(boolean safety,
TagNode tagNode,
ErrorType errorType)
HtmlModificationListenerfireHtmlError in interface HtmlModificationListenersafety - - true if change made doesn't hurts end document.tagNode - - problematic node.public void fireUglyHtml(boolean safety,
TagNode tagNode,
ErrorType errorType)
HtmlModificationListenerfireUglyHtml in interface HtmlModificationListenersafety - - true if change made doesn't hurts end document.tagNode - - problematic node.public void fireUserDefinedModification(boolean safety,
TagNode tagNode,
ErrorType errorType)
HtmlModificationListenerfireUserDefinedModification in interface HtmlModificationListenersafety - - true if change made doesn't hurts end document.tagNode - - problematic node.Copyright © 2006–2018. All rights reserved.