Uses of Class
org.owasp.validator.html.ScanException
Packages that use ScanException
Package
Description
This package contains implementation classes to handle the sanitization of Cascading Style Sheets (CSS)
and should not be directly used by clients.
This package contains classes to handle the sanitization of HTML markup.
This package contains implementation classes used by AntiSamy and should not be directly used by clients.
-
Uses of ScanException in org.owasp.validator.css
Subclasses of ScanException in org.owasp.validator.cssMethods in org.owasp.validator.css that throw ScanExceptionModifier and TypeMethodDescriptionbooleanCssValidator.isValidCondition(String selectorName, org.w3c.css.sac.Condition condition) Determines whether the given condition is valid according to this validator's policy.booleanCssValidator.isValidSelector(String selectorName, org.w3c.css.sac.Selector selector) Determines whether the given selector name is valid according to this validator's policy.CssScanner.scanInlineStyle(String taintedCss, String tagName, int sizeLimit) Scans the contents of an inline style declaration (ex. in the style attribute of an HTML tag) and validates the style sheet according to thisCssScanner's policy file.CssScanner.scanStyleSheet(String taintedCss, int sizeLimit) Scans the contents of a full stylesheet (ex. a file based stylesheet or the complete stylesheet contents as declared within <style> tags) -
Uses of ScanException in org.owasp.validator.html
Methods in org.owasp.validator.html that throw ScanExceptionModifier and TypeMethodDescriptionUse this method if caller has Streams rather than Strings for I/O.Thescan()family of methods are the only methods the outside world should be calling to invoke AntiSamy.This method scans the supplied HTML input and produces clean/sanitized results per the previously configured AntiSamy policy using the specified DOM or SAX parser.This method scans the supplied HTML input and produces clean/sanitized results per the supplied AntiSamy policy file using the DOM parser.This method scans the supplied HTML input and produces clean/sanitized results per the supplied AntiSamy policy file using the DOM parser.This method scans the supplied HTML input and produces clean/sanitized results per the supplied AntiSamy policy using the DOM parser.This method scans the supplied HTML input and produces clean/sanitized results per the supplied AntiSamy policy using the specified DOM or SAX parser. -
Uses of ScanException in org.owasp.validator.html.scan
Methods in org.owasp.validator.html.scan that throw ScanExceptionModifier and TypeMethodDescriptionabstract CleanResultsThis is where the magic lives.Using a SAX parser, this supports Streams for input and output.Scan the provided HTML using the AntiSamy policy specified when this Scanner instance was constructed, and return a CleanResult object that contains the sanitized output, along with possibly some error messages and scan time statistics.This is where the magic lives.