|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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)
HtmlModificationListener
ITagNodeCondition
match.
fireConditionModification
in interface HtmlModificationListener
condition
- that was applied to make the modificationtagNode
- - problematic node.public void fireHtmlError(boolean safety, TagNode tagNode, ErrorType errorType)
HtmlModificationListener
fireHtmlError
in interface HtmlModificationListener
safety
- - 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 HtmlModificationListener
safety
- - 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 HtmlModificationListener
safety
- - 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 |