public class SafeHtmlDef extends ConstraintDef<SafeHtmlDef,SafeHtml>
Modifier and Type | Class and Description |
---|---|
static class |
SafeHtmlDef.AttributeDef
Represents a
SafeHtml.Attribute . |
static class |
SafeHtmlDef.TagDef
Represents a
SafeHtml.Tag . |
Constructor and Description |
---|
SafeHtmlDef() |
Modifier and Type | Method and Description |
---|---|
SafeHtmlDef |
additionalTags(SafeHtmlDef.TagDef tag,
SafeHtmlDef.TagDef... furtherTags)
Whitelists additional tags.
|
SafeHtmlDef |
additionalTags(String... additionalTags) |
SafeHtmlDef |
additionalTagsWithAttributes(SafeHtml.Tag... additionalTagsWithAttributes)
Deprecated.
Use
additionalTags(TagDef, TagDef...) instead. |
SafeHtmlDef |
baseURI(String baseURI) |
SafeHtmlDef |
whitelistType(SafeHtml.WhiteListType whitelistType) |
groups, message, payload
addAnnotationAsParameter, addParameter, toString
public SafeHtmlDef whitelistType(SafeHtml.WhiteListType whitelistType)
public SafeHtmlDef additionalTags(String... additionalTags)
@Deprecated public SafeHtmlDef additionalTagsWithAttributes(SafeHtml.Tag... additionalTagsWithAttributes)
additionalTags(TagDef, TagDef...)
instead.public SafeHtmlDef additionalTags(SafeHtmlDef.TagDef tag, SafeHtmlDef.TagDef... furtherTags)
public SafeHtmlDef baseURI(String baseURI)
Copyright © 2019 JBoss by Red Hat. All rights reserved.