HtmlPolicyBuilder |
HtmlPolicyBuilder.allowCommonBlockElements() |
A canned policy that allows a number of common block elements.
|
HtmlPolicyBuilder |
HtmlPolicyBuilder.allowCommonInlineFormattingElements() |
A canned policy that allows a number of common formatting elements.
|
HtmlPolicyBuilder |
HtmlPolicyBuilder.allowElements(java.lang.String... elementNames) |
Allows the named elements.
|
HtmlPolicyBuilder |
HtmlPolicyBuilder.allowElements(ElementPolicy policy,
java.lang.String... elementNames) |
Allow the given elements with the given policy.
|
HtmlPolicyBuilder |
HtmlPolicyBuilder.allowStandardUrlProtocols() |
A canned URL protocol policy that allows http ,
https , and mailto .
|
HtmlPolicyBuilder |
HtmlPolicyBuilder.allowStyling() |
Convert style="<CSS>" to simple non-JS containing
<font> tags to allow color, font-size, typeface, and
other styling.
|
HtmlPolicyBuilder |
HtmlPolicyBuilder.allowUrlProtocols(java.lang.String... protocols) |
Adds to the set of protocols that are allowed in URL attributes.
|
HtmlPolicyBuilder |
HtmlPolicyBuilder.allowWithoutAttributes(java.lang.String... elementNames) |
Assuming the given elements are allowed, allows them to appear without
attributes.
|
HtmlPolicyBuilder |
HtmlPolicyBuilder.disallowElements(java.lang.String... elementNames) |
Disallows the named elements.
|
HtmlPolicyBuilder |
HtmlPolicyBuilder.disallowUrlProtocols(java.lang.String... protocols) |
|
HtmlPolicyBuilder |
HtmlPolicyBuilder.disallowWithoutAttributes(java.lang.String... elementNames) |
Disallows the given elements from appearing without attributes.
|
HtmlPolicyBuilder |
HtmlPolicyBuilder.AttributeBuilder.globally() |
Allows the given attributes on any elements but filters the
attributes' values based on previous calls to matching(...) .
|
HtmlPolicyBuilder |
HtmlPolicyBuilder.AttributeBuilder.onElements(java.lang.String... elementNames) |
Allows the named attributes on the given elements but filters the
attributes' values based on previous calls to matching(...) .
|
HtmlPolicyBuilder |
HtmlPolicyBuilder.requireRelNofollowOnLinks() |
|