public class JowliMLWhitelistConfiguration extends Object
| Constructor and Description |
|---|
JowliMLWhitelistConfiguration() |
public static org.jsoup.safety.Whitelist whitelistFromJowliML(String jowliml)
public static JowliMLWhitelistConfiguration fromJowliML(String json)
public String format(WhitelistConfiguration config)
public void allowTag(String arg0)
allowTag in interface MutableWhitelistConfigurationpublic boolean allowsTag(String arg0)
public boolean hasAllowedAttributes(String arg0)
public void allowAttribute(String arg0, String arg1)
allowAttribute in interface MutableWhitelistConfigurationpublic boolean hasEnforcedAttributes(String arg0)
public void enforceAttribute(String arg0, String arg1, String arg2)
enforceAttribute in interface MutableWhitelistConfigurationpublic boolean hasAllowedProtocols(String arg0)
public void allowProtocol(String arg0, String arg1, String arg2)
allowProtocol in interface MutableWhitelistConfigurationpublic org.jsoup.safety.Whitelist apply(org.jsoup.safety.Whitelist arg0)
apply in interface WhitelistConfigurationpublic org.jsoup.safety.Whitelist whitelist()
whitelist in interface WhitelistConfigurationCopyright © 2016. All rights reserved.