public interface MutableWhitelistConfiguration extends WhitelistConfiguration
MutableWhitelistConfiguration interface.
| Modifier and Type | Method and Description |
|---|---|
MutableWhitelistConfiguration |
allowAttribute(String tagName,
String attrName)
Add an allowed attribute to the configuration
|
MutableWhitelistConfiguration |
allowProtocol(String tagName,
String attrName,
String protocol)
Add an allowed protocol to the configuration
|
MutableWhitelistConfiguration |
allowTag(String tagName)
Add an allowed tag to the configuration
|
MutableWhitelistConfiguration |
base(String name)
Sets the base whitelist to use when configuring a
Whitelist, 'none' is the default value. |
MutableWhitelistConfiguration |
enforceAttribute(String tagName,
String attrName,
String enforcedValue)
Add an enforced attribute value to the configuration
|
allowedAttributes, allowedProtocols, allowedTags, allowsAttribute, allowsProtocol, allowsTag, apply, base, enforcedAttributes, enforcesAttribute, enforcesAttribute, hasAllowedAttributes, hasAllowedProtocols, hasAllowedProtocols, hasEnforcedAttributes, whitelistMutableWhitelistConfiguration base(String name)
Sets the base whitelist to use when configuring a Whitelist, 'none' is the default value.
name - an instance of whitelist to use as the base whitelistMutableWhitelistConfiguration object.MutableWhitelistConfiguration allowTag(String tagName)
Add an allowed tag to the configuration
tagName - (non null) an HTML tag nameMutableWhitelistConfiguration object.MutableWhitelistConfiguration enforceAttribute(String tagName, String attrName, String enforcedValue)
Add an enforced attribute value to the configuration
tagName - (non null) an HTML tag nameattrName - (non null) an HTML attribute nameenforcedValue - (non null) the string value for the specified attribute.MutableWhitelistConfiguration object.MutableWhitelistConfiguration allowProtocol(String tagName, String attrName, String protocol)
Add an allowed protocol to the configuration
tagName - (non null) an HTML tag nameattrName - (non null) an HTML attribute nameprotocol - (non null) a protocol like 'https' or 'http'MutableWhitelistConfiguration object.MutableWhitelistConfiguration allowAttribute(String tagName, String attrName)
Add an allowed attribute to the configuration
tagName - (non null) an HTML tag nameattrName - (non null) an HTML attribute nameMutableWhitelistConfiguration object.Copyright © 2016. All rights reserved.