Modifier and Type | Interface | Description |
---|---|---|
interface |
AttributePolicy |
A policy that can be applied to an HTML attribute to decide whether or not to
allow it in the output, possibly after transforming its value.
|
class |
CssSchema |
Describes the kinds of tokens a CSS property's value can safely contain.
|
interface |
ElementPolicy |
A policy that can be applied to an element to decide whether or not to
allow it in the output, possibly after transforming attributes.
|
class |
FilterUrlByProtocolAttributePolicy |
An attribute policy for attributes whose values are URLs that requires that
the value have no protocol or have an allowed protocol.
|
class |
HtmlPolicyBuilder |
Conveniences for configuring policies for the
HtmlSanitizer . |
static interface |
HtmlSanitizer.Policy |
Receives events based on the HTML stream, and applies a policy to decide
what HTML constructs to allow.
|
class |
HtmlStreamRenderer |
Given a series of HTML tokens, writes valid, normalized HTML to the output.
|
class |
PolicyFactory |
|
class |
TagBalancingHtmlStreamEventReceiver |
Wraps an HTML stream event receiver to fill in missing close tags.
|
Copyright © 2019 OWASP. All rights reserved.