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)
          Deprecated. This method does not properly load included policy files. Use getInstance(URL) instead.
static Policy Policy.getInstance(java.lang.String filename)
          This retrieves a Policy based on the file name passed in
static Policy Policy.getInstance(java.net.URL url)
          This retrieves a Policy based on the URL object 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.
 CleanResults AntiSamy.scan(java.lang.String taintedHTML, Policy policy, int scanType)
           
 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
 

Fields in org.owasp.validator.html.scan declared as Policy
protected  Policy AbstractAntiSamyScanner.policy
           
 

Constructors in org.owasp.validator.html.scan with parameters of type Policy
AbstractAntiSamyScanner(Policy policy)
           
AntiSamyDOMScanner(Policy policy)
           
AntiSamySAXScanner(Policy policy)
           
MagicSAXFilter(Policy instance, java.util.ResourceBundle messages)
           
 



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