Searched refs:POLICY_DEFINITION (Results 1 – 3 of 3) sorted by relevance
82 String sanitized = EbayPolicyExample.POLICY_DEFINITION.sanitize(input); in testSanitizeRemovesScripts()89 String sanitized = EbayPolicyExample.POLICY_DEFINITION.sanitize(input); in testSanitizeRemovesOnclick()96 String sanitized = EbayPolicyExample.POLICY_DEFINITION.sanitize(input); in testTextAllowedInLinks()
68 POLICY_DEFINITION = new HtmlPolicyBuilder() field in SlashdotPolicyExample118 HtmlSanitizer.sanitize(html, POLICY_DEFINITION.apply(renderer)); in main()
126 public static final PolicyFactory POLICY_DEFINITION = new HtmlPolicyBuilder() field in EbayPolicyExample234 HtmlSanitizer.sanitize(html, POLICY_DEFINITION.apply(renderer)); in main()