Uses of Interface
org.owasp.html.HtmlStreamEventReceiver
-
Packages that use HtmlStreamEventReceiver Package Description org.owasp.html An efficientHtmlSanitizer
configurable via a flexibleHtmlPolicyBuilder
.org.owasp.html.examples -
-
Uses of HtmlStreamEventReceiver in org.owasp.html
Subinterfaces of HtmlStreamEventReceiver in org.owasp.html Modifier and Type Interface Description static interface
HtmlSanitizer.Policy
Receives events based on the HTML stream, and applies a policy to decide what HTML constructs to allow.Classes in org.owasp.html that implement HtmlStreamEventReceiver Modifier and Type Class Description class
HtmlStreamRenderer
Given a series of HTML tokens, writes valid, normalized HTML to the output.class
TagBalancingHtmlStreamEventReceiver
Wraps an HTML stream event receiver to fill in missing close tags.Methods in org.owasp.html with parameters of type HtmlStreamEventReceiver Modifier and Type Method Description HtmlSanitizer.Policy
PolicyFactory. apply(HtmlStreamEventReceiver out)
Produces a sanitizer that emits tokens to out.HtmlSanitizer.Policy
HtmlPolicyBuilder. build(HtmlStreamEventReceiver out)
Produces a policy based on the allow and disallow calls previously made.Constructors in org.owasp.html with parameters of type HtmlStreamEventReceiver Constructor Description TagBalancingHtmlStreamEventReceiver(HtmlStreamEventReceiver underlying)
-
Uses of HtmlStreamEventReceiver in org.owasp.html.examples
Fields in org.owasp.html.examples with type parameters of type HtmlStreamEventReceiver Modifier and Type Field Description static com.google.common.base.Function<HtmlStreamEventReceiver,HtmlSanitizer.Policy>
EbayPolicyExample. POLICY_DEFINITION
static com.google.common.base.Function<HtmlStreamEventReceiver,HtmlSanitizer.Policy>
SlashdotPolicyExample. POLICY_DEFINITION
A policy definition that matches the minimal HTML that Slashdot allows.
-