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

Packages that use PolicyException
org.owasp.validator.html   
org.owasp.validator.html.scan   
 

Uses of PolicyException in org.owasp.validator.html
 

Methods in org.owasp.validator.html that throw PolicyException
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.
 CleanResults AntiSamy.scan(java.lang.String taintedHTML)
          The meat and potatoes.
 CleanResults AntiSamy.scan(java.lang.String taintedHTML, java.io.File policyFile)
          This method wraps scan() using the policy File object passed in.
 CleanResults AntiSamy.scan(java.lang.String taintedHTML, int scanType)
           
 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)
           
 CleanResults AntiSamy.scan(java.lang.String taintedHTML, java.lang.String filename)
          This method wraps scan() using the Policy object passed in.
 

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

Methods in org.owasp.validator.html.scan that throw PolicyException
static void AntiSamyDOMScanner.main(java.lang.String[] args)
          This method replaces all entity codes with a normalized version of all entity references contained in order to reduce our encoding/parsing attack surface.
 

Constructors in org.owasp.validator.html.scan that throw PolicyException
AbstractAntiSamyScanner()
           
AntiSamyDOMScanner()
           
 



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