Class CSSStyleSheetListImpl

java.lang.Object
org.htmlunit.cssparser.dom.CSSStyleSheetListImpl

public class CSSStyleSheetListImpl extends Object
Implementation of StyleSheetList.
Author:
Ronald Brill
  • Constructor Details

    • CSSStyleSheetListImpl

      public CSSStyleSheetListImpl()
  • Method Details

    • getCSSStyleSheets

      public List<CSSStyleSheetImpl> getCSSStyleSheets()

      getCSSStyleSheets.

      Returns:
      the list of style sheets
    • getLength

      public int getLength()

      getLength.

      Returns:
      the number of style sheets
    • add

      public void add(CSSStyleSheetImpl cssStyleSheet)
      Adds a CSSStyleSheet.
      Parameters:
      cssStyleSheet - the CSSStyleSheet
    • merge

      public CSSStyleSheetImpl merge()
      Merges all StyleSheets in this list into one.
      Returns:
      the new (merged) StyleSheet
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object