org.owasp.html
Interface HtmlStreamEventReceiver
- All Known Subinterfaces:
- HtmlSanitizer.Policy
- All Known Implementing Classes:
- HtmlStreamRenderer, TagBalancingHtmlStreamEventReceiver
public interface HtmlStreamEventReceiver
A light-weight SAX-like listener for HTML.
openDocument
void openDocument()
closeDocument
void closeDocument()
openTag
void openTag(java.lang.String elementName,
java.util.List<java.lang.String> attrs)
- Parameters:
attrs
- alternating attribute names and values.
closeTag
void closeTag(java.lang.String elementName)
text
void text(java.lang.String text)