|
code.google.com home | ||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use HtmlSanitizer.Policy | |
---|---|
org.owasp.html | An efficient HtmlSanitizer
configurable via a flexible
HtmlPolicyBuilder . |
org.owasp.html.examples |
Uses of HtmlSanitizer.Policy in org.owasp.html |
---|
Methods in org.owasp.html that return HtmlSanitizer.Policy | ||
---|---|---|
HtmlSanitizer.Policy |
PolicyFactory.apply(HtmlStreamEventReceiver out)
Produces a sanitizer that emits tokens to out . |
|
|
PolicyFactory.apply(HtmlStreamEventReceiver out,
HtmlChangeListener<CTX> listener,
CTX context)
Produces a sanitizer that emits tokens to out and that notifies
any listener of any dropped tags and attributes. |
|
HtmlSanitizer.Policy |
HtmlPolicyBuilder.build(HtmlStreamEventReceiver out)
Produces a policy based on the allow and disallow calls previously made. |
|
|
HtmlPolicyBuilder.build(HtmlStreamEventReceiver out,
HtmlChangeListener<? super CTX> listener,
CTX context)
Produces a policy based on the allow and disallow calls previously made. |
|
HtmlSanitizer.Policy |
HtmlChangeReporter.getWrappedPolicy()
|
Methods in org.owasp.html with parameters of type HtmlSanitizer.Policy | |
---|---|
static void |
HtmlSanitizer.sanitize(java.lang.String html,
HtmlSanitizer.Policy policy)
Sanitizes the given HTML by applying the given policy to it. |
void |
HtmlChangeReporter.setPolicy(HtmlSanitizer.Policy policy)
Associates an input channel. |
Uses of HtmlSanitizer.Policy in org.owasp.html.examples |
---|
Fields in org.owasp.html.examples with type parameters of type HtmlSanitizer.Policy | |
---|---|
static com.google.common.base.Function<HtmlStreamEventReceiver,HtmlSanitizer.Policy> |
SlashdotPolicyExample.POLICY_DEFINITION
A policy definition that matches the minimal HTML that Slashdot allows. |
|
code.google.com home | ||||||||
PREV NEXT | FRAMES NO FRAMES |