|
code.google.com home | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface HtmlChangeListener<T>
Receives events when an HTML tag, or attribute is discarded. This can be hooked into an intrusion detection system to alert code when suspicious HTML passes through the sanitizer.
| Method Summary | |
|---|---|
void |
discardedAttributes(T context,
java.lang.String tagName,
java.lang.String... attributeNames)
Called when attributes are discarded from the input but the containing tag is not. |
void |
discardedTag(T context,
java.lang.String elementName)
Called when a tag is discarded from the input. |
| Method Detail |
|---|
void discardedTag(@Nullable
T context,
java.lang.String elementName)
void discardedAttributes(@Nullable
T context,
java.lang.String tagName,
java.lang.String... attributeNames)
|
code.google.com home | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||