Uses of Class
org.owasp.validator.html.PolicyException
Packages that use PolicyException
-
Uses of PolicyException in org.owasp.validator.html
Methods in org.owasp.validator.html that throw PolicyExceptionModifier and TypeMethodDescriptionstatic 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.protected static Policy.ParseContext
Policy.getParseContext
(Element topLevelElement, URL baseUrl) protected static Policy.ParseContext
Policy.getSimpleParseContext
(Element topLevelElement) protected static Element
Policy.getTopLevelElement
(URL baseUrl) protected static Element
Policy.getTopLevelElement
(InputSource source) The meat and potatoes.This method wrapsscan()
using the policy File object passed in.This method wrapsscan()
using the Policy object passed in.This method wrapsscan()
using the Policy object passed in.Constructors in org.owasp.validator.html that throw PolicyExceptionModifierConstructorDescriptionprotected
InternalPolicy
(URL baseUrl, Policy.ParseContext parseContext) protected
Policy
(Policy.ParseContext parseContext) -
Uses of PolicyException in org.owasp.validator.html.scan
Methods in org.owasp.validator.html.scan that throw PolicyExceptionConstructors in org.owasp.validator.html.scan that throw PolicyException