| Package | Description |
|---|---|
| org.owasp.validator.css | |
| org.owasp.validator.html | |
| org.owasp.validator.html.scan |
| Modifier and Type | Method and Description |
|---|---|
CleanResults |
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
this
CssScanner's policy file. |
CleanResults |
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)
|
| Modifier and Type | Method and Description |
|---|---|
CleanResults |
AntiSamy.scan(String taintedHTML)
The meat and potatoes.
|
CleanResults |
AntiSamy.scan(String taintedHTML,
File policyFile)
This method wraps
scan() using the policy File object passed
in. |
CleanResults |
AntiSamy.scan(String taintedHTML,
int scanType) |
CleanResults |
AntiSamy.scan(String taintedHTML,
Policy policy)
This method wraps
scan() using the Policy object passed in. |
CleanResults |
AntiSamy.scan(String taintedHTML,
Policy policy,
int scanType) |
CleanResults |
AntiSamy.scan(String taintedHTML,
String filename)
This method wraps
scan() using the Policy object passed in. |
| Modifier and Type | Method and Description |
|---|---|
CleanResults |
AntiSamySAXScanner.getResults() |
CleanResults |
AntiSamyDOMScanner.getResults() |
abstract CleanResults |
AbstractAntiSamyScanner.getResults() |
CleanResults |
AntiSamySAXScanner.scan(String html) |
CleanResults |
AntiSamyDOMScanner.scan(String html)
This is where the magic lives.
|
abstract CleanResults |
AbstractAntiSamyScanner.scan(String html) |
Copyright © 2013 The Open Web Application Security Project (OWASP). All rights reserved.