Uses of Class
org.owasp.validator.html.Policy

Packages that use Policy
org.owasp.validator.css   
org.owasp.validator.html   
org.owasp.validator.html.scan   
 

Uses of Policy in org.owasp.validator.css
 

Constructors in org.owasp.validator.css with parameters of type Policy
CssHandler(Policy policy, java.util.LinkedList embeddedStyleSheets, java.util.ArrayList errorMessages, java.util.ResourceBundle messages)
          Constructs a handler for stylesheets using the given policy and queue for imported stylesheets.
CssHandler(Policy policy, java.util.LinkedList embeddedStyleSheets, java.util.ArrayList errorMessages, java.lang.String tagName, java.util.ResourceBundle messages)
          Constructs a handler for inline style declarations using the given policy and queue for imported stylesheets.
CssScanner(Policy policy, java.util.ResourceBundle messages)
          Constructs a scanner based on the given policy.
CssValidator(Policy policy)
          Constructs a validator for CSS selectors, conditions and properties based on the given policy.
 

Uses of Policy in org.owasp.validator.html
 

Methods in org.owasp.validator.html that return Policy
static Policy Policy.getInstance()
          This retrieves a Policy based on a default location ("resources/antisamy.xml")
static Policy Policy.getInstance(java.io.File file)
          This retrieves a Policy based on the File object passed in
static Policy Policy.getInstance(java.io.InputStream inputStream)
          This retrieves a Policy based on the InputStream object passed in
static Policy Policy.getInstance(java.lang.String filename)
          This retrieves a Policy based on the file name passed in
 Policy AntiSamy.getPolicy()
           
 

Methods in org.owasp.validator.html with parameters of type Policy
 CleanResults AntiSamy.scan(java.lang.String taintedHTML, Policy policy)
          This method wraps scan() using the Policy object passed in.
 void AntiSamy.setPolicy(Policy policy)
           
 

Constructors in org.owasp.validator.html with parameters of type Policy
AntiSamy(Policy policy)
           
 

Uses of Policy in org.owasp.validator.html.scan
 

Constructors in org.owasp.validator.html.scan with parameters of type Policy
AntiSamyDOMScanner(Policy policy)
           
 



Copyright © 2010 The Open Web Application Security Project (OWASP). All Rights Reserved.