Uses of Class
org.owasp.validator.html.CleanResults
Packages that use CleanResults
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 CleanResults in org.owasp.validator.css
Methods in org.owasp.validator.css that return CleanResultsModifier and TypeMethodDescriptionCssScanner.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 CleanResults in org.owasp.validator.html
Methods in org.owasp.validator.html that return CleanResultsModifier 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 CleanResults in org.owasp.validator.html.scan
Methods in org.owasp.validator.html.scan that return CleanResultsModifier and TypeMethodDescriptionabstract CleanResultsAbstractAntiSamyScanner.getResults()AntiSamyDOMScanner.getResults()AntiSamySAXScanner.getResults()The SAXScanner can't remember and return the complete scan results in all cases because the scan(Reader reader, Writer writer) version of the scan() API incrementally scans the input to generate incremental output.abstract 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.