Uses of Class
org.owasp.validator.html.Policy
Packages that use Policy
-
Uses of Policy in org.owasp.validator.css
Constructors in org.owasp.validator.css with parameters of type PolicyModifierConstructorDescriptionCssHandler
(Policy policy, LinkedList embeddedStyleSheets, List<String> errorMessages, String tagName, ResourceBundle messages) Constructs a handler for inline style declarations using the given policy and queue for imported stylesheets.CssHandler
(Policy policy, LinkedList embeddedStyleSheets, List<String> errorMessages, ResourceBundle messages) Constructs a handler for stylesheets using the given policy and queue for imported stylesheets.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
Subclasses of Policy in org.owasp.validator.htmlModifier and TypeClassDescriptionclass
Contains a bunch of optimized lookups over the regular Policy Class.Methods in org.owasp.validator.html that return PolicyModifier and TypeMethodDescriptionPolicy.cloneWithDirective
(String name, String value) Creates a copy of this policy with an added/changed directive.static Policy
Policy.getInstance()
This retrieves a Policy based on a default location ("resources/antisamy.xml")static Policy
Policy.getInstance
(File file) This retrieves a Policy based on the File object passed instatic Policy
Policy.getInstance
(InputStream inputStream) This retrieves a Policy based on the InputStream object passed instatic Policy
Policy.getInstance
(String filename) This retrieves a Policy based on the file name passed instatic Policy
Policy.getInstance
(URL url) This retrieves a Policy based on the URL object passed in.Methods in org.owasp.validator.html with parameters of type PolicyModifier and TypeMethodDescriptionThis method wrapsscan()
using the Policy object passed in.Constructors in org.owasp.validator.html with parameters of type Policy -
Uses of Policy in org.owasp.validator.html.scan
Constructors in org.owasp.validator.html.scan with parameters of type PolicyModifierConstructorDescriptionAbstractAntiSamyScanner
(Policy policy) AntiSamyDOMScanner
(Policy policy) AntiSamySAXScanner
(Policy policy)