Modifier and Type | Method and Description |
---|---|
HtmlPolicyBuilder.AttributeBuilder |
HtmlPolicyBuilder.allowAttributes(String... attributeNames)
Returns an object that lets you associate policies with the given
attributes, and allow them globally or on specific elements.
|
HtmlPolicyBuilder.AttributeBuilder |
HtmlPolicyBuilder.disallowAttributes(String... attributeNames)
Reverse an earlier attribute
allow . |
HtmlPolicyBuilder.AttributeBuilder |
HtmlPolicyBuilder.AttributeBuilder.matching(AttributePolicy attrPolicy)
Filters and/or transforms the attribute values
allowed by later
allow* calls. |
HtmlPolicyBuilder.AttributeBuilder |
HtmlPolicyBuilder.AttributeBuilder.matching(boolean ignoreCase,
Set<? extends String> allowedValues)
Restrict the values allowed by later
allow* calls to those
supplied. |
HtmlPolicyBuilder.AttributeBuilder |
HtmlPolicyBuilder.AttributeBuilder.matching(boolean ignoreCase,
String... allowedValues)
Restrict the values allowed by later
allow* calls to those
supplied. |
HtmlPolicyBuilder.AttributeBuilder |
HtmlPolicyBuilder.AttributeBuilder.matching(Pattern pattern)
Restrict the values allowed by later
allow* calls to those
matching the pattern. |
HtmlPolicyBuilder.AttributeBuilder |
HtmlPolicyBuilder.AttributeBuilder.matching(com.google.common.base.Predicate<? super String> filter)
Restrict the values allowed by later
allow* calls to those
matching the given predicate. |
Copyright © 2017 OWASP. All rights reserved.