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
HtmlStreamEventReceiverWrapper
An event receiver that delegates to an underlying receiver and which may be overridden to do additional work.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 that return HtmlStreamEventReceiver Modifier and Type Method Description HtmlStreamEventReceiver
HtmlChangeReporter. getWrappedRenderer()
The underlying renderer.HtmlStreamEventReceiver
HtmlStreamEventProcessor. wrap(HtmlStreamEventReceiver sink)
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 toout
.<CTX> HtmlSanitizer.Policy
PolicyFactory. apply(HtmlStreamEventReceiver out, HtmlChangeListener<CTX> listener, CTX context)
Produces a sanitizer that emits tokens toout
and that notifies anylistener
of any dropped tags and attributes.HtmlSanitizer.Policy
HtmlPolicyBuilder. build(HtmlStreamEventReceiver out)
Produces a policy based on the allow and disallow calls previously made.<CTX> HtmlSanitizer.Policy
HtmlPolicyBuilder. build(HtmlStreamEventReceiver out, HtmlChangeListener<? super CTX> listener, CTX context)
Produces a policy based on the allow and disallow calls previously made.HtmlStreamEventReceiver
HtmlStreamEventProcessor. wrap(HtmlStreamEventReceiver sink)
Constructors in org.owasp.html with parameters of type HtmlStreamEventReceiver Constructor Description HtmlChangeReporter(HtmlStreamEventReceiver renderer, HtmlChangeListener<? super T> listener, T context)
HtmlStreamEventReceiverWrapper(HtmlStreamEventReceiver underlying)
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 Function<HtmlStreamEventReceiver,HtmlSanitizer.Policy>
SlashdotPolicyExample. POLICY_DEFINITION
A policy definition that matches the minimal HTML that Slashdot allows.
-