code.google.com home

Uses of Class
org.owasp.html.HtmlPolicyBuilder

Packages that use HtmlPolicyBuilder
org.owasp.html An efficient HtmlSanitizer configurable via a flexible HtmlPolicyBuilder
 

Uses of HtmlPolicyBuilder in org.owasp.html
 

Methods in org.owasp.html that return HtmlPolicyBuilder
 HtmlPolicyBuilder HtmlPolicyBuilder.allowCommonBlockElements()
          A canned policy that allows a number of common block elements.
 HtmlPolicyBuilder HtmlPolicyBuilder.allowCommonInlineFormattingElements()
          A canned policy that allows a number of common formatting elements.
 HtmlPolicyBuilder HtmlPolicyBuilder.allowElements(ElementPolicy policy, java.lang.String... elementNames)
          Allow the given elements with the given policy.
 HtmlPolicyBuilder HtmlPolicyBuilder.allowElements(java.lang.String... elementNames)
          Allows the named elements.
 HtmlPolicyBuilder HtmlPolicyBuilder.allowStandardUrlProtocols()
          A canned URL protocol policy that allows http, https, and mailto.
 HtmlPolicyBuilder HtmlPolicyBuilder.allowStyling()
          Convert style="<CSS>" to sanitized CSS which allows color, font-size, type-face, and other styling using the default schema; but which does not allow content to escape its clipping context.
 HtmlPolicyBuilder HtmlPolicyBuilder.allowStyling(CssSchema whitelist)
          Convert style="<CSS>" to sanitized CSS which allows color, font-size, type-face, and other styling using the given schema.
 HtmlPolicyBuilder HtmlPolicyBuilder.allowTextIn(java.lang.String... elementNames)
          Allows text content in the named elements.
 HtmlPolicyBuilder HtmlPolicyBuilder.allowUrlProtocols(java.lang.String... protocols)
          Adds to the set of protocols that are allowed in URL attributes.
 HtmlPolicyBuilder HtmlPolicyBuilder.allowWithoutAttributes(java.lang.String... elementNames)
          Assuming the given elements are allowed, allows them to appear without attributes.
 HtmlPolicyBuilder HtmlPolicyBuilder.disallowElements(java.lang.String... elementNames)
          Disallows the named elements.
 HtmlPolicyBuilder HtmlPolicyBuilder.disallowTextIn(java.lang.String... elementNames)
           
 HtmlPolicyBuilder HtmlPolicyBuilder.disallowUrlProtocols(java.lang.String... protocols)
          Reverses a decision made by allowUrlProtocols(java.lang.String...).
 HtmlPolicyBuilder HtmlPolicyBuilder.disallowWithoutAttributes(java.lang.String... elementNames)
          Disallows the given elements from appearing without attributes.
 HtmlPolicyBuilder HtmlPolicyBuilder.AttributeBuilder.globally()
          Allows the given attributes on any elements but filters the attributes' values based on previous calls to matching(...).
 HtmlPolicyBuilder HtmlPolicyBuilder.AttributeBuilder.onElements(java.lang.String... elementNames)
          Allows the named attributes on the given elements but filters the attributes' values based on previous calls to matching(...).
 HtmlPolicyBuilder HtmlPolicyBuilder.requireRelNofollowOnLinks()
          Adds rel=nofollow to links.
 


code.google.com home