Modifier and Type | Interface | Description |
---|---|---|
static interface |
ElementPolicy.JoinableElementPolicy |
Modifier and Type | Field | Description |
---|---|---|
static ElementPolicy |
ElementPolicy.IDENTITY_ELEMENT_POLICY |
An element policy that returns the element unchanged.
|
static ElementPolicy |
ElementPolicy.REJECT_ALL_ELEMENT_POLICY |
An element policy that rejects all elements.
|
Modifier and Type | Method | Description |
---|---|---|
static ElementPolicy |
ElementPolicy.Util.join(ElementPolicy... policies) |
Given zero or more element policies, returns an element policy equivalent
to applying them in order failing early if any of them fails.
|
Modifier and Type | Method | Description |
---|---|---|
HtmlPolicyBuilder |
HtmlPolicyBuilder.allowElements(ElementPolicy policy,
java.lang.String... elementNames) |
Allow the given elements with the given policy.
|
static ElementPolicy |
ElementPolicy.Util.join(ElementPolicy... policies) |
Given zero or more element policies, returns an element policy equivalent
to applying them in order failing early if any of them fails.
|
Copyright © 2019 OWASP. All rights reserved.