|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.htmlcleaner.audit.HtmlModificationListenerLogger
public class HtmlModificationListenerLogger
| Constructor Summary | |
|---|---|
HtmlModificationListenerLogger(Logger log)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HtmlModificationListenerLogger(Logger log)
| Method Detail |
|---|
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)
HtmlModificationListener
fireHtmlError in interface HtmlModificationListenersafety - - true if change made doesn't hurts end document.tagNode - - problematic node.
public void fireUglyHtml(boolean safety,
TagNode tagNode,
ErrorType errorType)
HtmlModificationListener
fireUglyHtml in interface HtmlModificationListenersafety - - true if change made doesn't hurts end document.tagNode - - problematic node.
public void fireUserDefinedModification(boolean safety,
TagNode tagNode,
ErrorType errorType)
HtmlModificationListener
fireUserDefinedModification in interface HtmlModificationListenersafety - - true if change made doesn't hurts end document.tagNode - - problematic node.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||