code.google.com home

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.


Method Summary
 void closeDocument()
           
 void closeTag(java.lang.String elementName)
           
 void openDocument()
           
 void openTag(java.lang.String elementName, java.util.List<java.lang.String> attrs)
           
 void text(java.lang.String text)
           
 

Method Detail

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)

code.google.com home