Package org.htmlunit.cssparser.dom
Class CSSStyleSheetListImpl
- java.lang.Object
-
- org.htmlunit.cssparser.dom.CSSStyleSheetListImpl
-
public class CSSStyleSheetListImpl extends Object
Implementation of StyleSheetList.- Author:
- Ronald Brill
-
-
Constructor Summary
Constructors Constructor Description CSSStyleSheetListImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(CSSStyleSheetImpl cssStyleSheet)Adds a CSSStyleSheet.booleanequals(Object obj)List<CSSStyleSheetImpl>getCSSStyleSheets()getCSSStyleSheets.intgetLength()getLength.inthashCode()CSSStyleSheetImplmerge()Merges all StyleSheets in this list into one.
-
-
-
Method Detail
-
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
-
-