Package | Description |
---|---|
org.owasp.validator.css | |
org.owasp.validator.html | |
org.owasp.validator.html.scan |
Modifier and Type | Class and Description |
---|---|
class |
UnknownSelectorException |
Modifier and Type | Method and Description |
---|---|
boolean |
CssValidator.isValidCondition(String selectorName,
org.w3c.css.sac.Condition condition)
Determines whether the given condition is valid according to this
validator's policy.
|
boolean |
CssValidator.isValidSelector(String selectorName,
org.w3c.css.sac.Selector selector)
Determines whether the given selector name is valid according to this
validator's policy.
|
protected void |
ExternalCssScanner.parseImportedStylesheets(LinkedList stylesheets,
CssHandler handler,
ArrayList errorMessages,
int sizeLimit)
Parses through a
LinkedList of imported stylesheet
URIs, this method parses through those stylesheets and validates them |
protected void |
CssScanner.parseImportedStylesheets(LinkedList stylesheets,
CssHandler handler,
List<String> errorMessages,
int sizeLimit)
Parses through a
LinkedList of imported stylesheet
URIs, this method parses through those stylesheets and validates them |
CleanResults |
CssScanner.scanInlineStyle(String taintedCss,
String tagName,
int sizeLimit)
Scans the contents of an inline style declaration (ex.
|
CleanResults |
CssScanner.scanStyleSheet(String taintedCss,
int sizeLimit)
Scans the contents of a full stylesheet (ex.
|
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 |
AntiSamyDOMScanner.scan(String html)
This is where the magic lives.
|
CleanResults |
AntiSamySAXScanner.scan(String html) |
abstract CleanResults |
AbstractAntiSamyScanner.scan(String html) |
Copyright © 2019. All rights reserved.