public interface WhitelistConfiguration
| Modifier and Type | Method and Description |
|---|---|
void |
allowedAttributes(BiConsumer<String,List<String>> fn) |
void |
allowedProtocols(BiConsumer<String,Map<String,List<String>>> fn) |
void |
allowedTags(Consumer<String> fn) |
boolean |
allowsAttribute(String tagName,
String attrName) |
boolean |
allowsProtocol(String tagName,
String attrName,
String protocol) |
boolean |
allowsTag(String tagName) |
org.jsoup.safety.Whitelist |
apply(org.jsoup.safety.Whitelist in) |
void |
enforcedAttributes(BiConsumer<String,Map<String,String>> fn) |
boolean |
enforcesAttribute(String tagName,
String attrName) |
boolean |
enforcesAttribute(String tagName,
String attrName,
String enforcedValue) |
boolean |
hasAllowedAttributes(String tagName) |
boolean |
hasAllowedProtocols(String tagName) |
boolean |
hasAllowedProtocols(String tagName,
String attrName) |
boolean |
hasEnforcedAttributes(String tagName) |
org.jsoup.safety.Whitelist |
whitelist() |
void allowedAttributes(BiConsumer<String,List<String>> fn)
void enforcedAttributes(BiConsumer<String,Map<String,String>> fn)
boolean allowsTag(String tagName)
boolean hasAllowedAttributes(String tagName)
boolean hasEnforcedAttributes(String tagName)
boolean hasAllowedProtocols(String tagName)
org.jsoup.safety.Whitelist apply(org.jsoup.safety.Whitelist in)
org.jsoup.safety.Whitelist whitelist()
Copyright © 2016. All rights reserved.