Uses of Interface
org.owasp.html.HtmlSanitizer.Policy
-
Packages that use HtmlSanitizer.Policy Package Description org.owasp.html An efficientHtmlSanitizer
configurable via a flexibleHtmlPolicyBuilder
.org.owasp.html.examples -
-
Uses of HtmlSanitizer.Policy in org.owasp.html
Methods in org.owasp.html that return HtmlSanitizer.Policy 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.Methods in org.owasp.html with parameters of type HtmlSanitizer.Policy Modifier and Type Method Description static void
HtmlSanitizer. sanitize(java.lang.String html, HtmlSanitizer.Policy policy)
Sanitizes the given HTML by applying the given policy to it. -
Uses of HtmlSanitizer.Policy in org.owasp.html.examples
Fields in org.owasp.html.examples with type parameters of type HtmlSanitizer.Policy 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.
-