org.owasp.validator.css
public class ExternalCssScanner extends CssScanner
DEFAULT_TIMEOUT, messages, parser, policy
Constructor and Description |
---|
ExternalCssScanner(InternalPolicy policy,
java.util.ResourceBundle messages) |
Modifier and Type | Method and Description |
---|---|
protected void |
parseImportedStylesheets(java.util.LinkedList stylesheets,
CssHandler handler,
java.util.ArrayList errorMessages,
int sizeLimit)
Parses through a
LinkedList of imported stylesheet
URIs, this method parses through those stylesheets and validates them |
main, parseImportedStylesheets, scanInlineStyle, scanStyleSheet
public ExternalCssScanner(InternalPolicy policy, java.util.ResourceBundle messages)
protected void parseImportedStylesheets(java.util.LinkedList stylesheets, CssHandler handler, java.util.ArrayList errorMessages, int sizeLimit) throws ScanException
LinkedList
of imported stylesheet
URIs, this method parses through those stylesheets and validates themstylesheets
- the LinkedList
of stylesheet URIs to
parsehandler
- the CssHandler
to use for parsingerrorMessages
- the list of error messages to append tosizeLimit
- the limit on the total size in bites of any imported
stylesheetsScanException
- if an error occurs during scanningCopyright © 2014. All Rights Reserved.