Class ExternalCssScanner

java.lang.Object
org.owasp.validator.css.CssScanner
org.owasp.validator.css.ExternalCssScanner

public class ExternalCssScanner extends CssScanner
  • Constructor Details

  • Method Details

    • parseImportedStylesheets

      protected void parseImportedStylesheets(LinkedList stylesheets, CssHandler handler, ArrayList errorMessages, int sizeLimit) throws ScanException
      Parses through a LinkedList of imported stylesheet URIs, this method parses through those stylesheets and validates them
      Parameters:
      stylesheets - the LinkedList of stylesheet URIs to parse
      handler - the CssHandler to use for parsing
      errorMessages - the list of error messages to append to
      sizeLimit - the limit on the total size in bites of any imported stylesheets
      Throws:
      ScanException - if an error occurs during scanning