Modifier and Type | Interface and Description |
---|---|
static interface |
ElementPolicy.JoinableElementPolicy |
Modifier and Type | Field and 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 and 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 and Description |
---|---|
HtmlPolicyBuilder |
HtmlPolicyBuilder.allowElements(ElementPolicy policy,
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 © 2016 OWASP. All rights reserved.