Package org.htmlunit.cssparser.dom
Class CSSStyleSheetListImpl
java.lang.Object
org.htmlunit.cssparser.dom.CSSStyleSheetListImpl
Implementation of StyleSheetList.
- Author:
- Ronald Brill
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(CSSStyleSheetImpl cssStyleSheet) Adds a CSSStyleSheet.boolean
getCSSStyleSheets.int
getLength.int
hashCode()
merge()
Merges all StyleSheets in this list into one.
-
Constructor Details
-
CSSStyleSheetListImpl
public CSSStyleSheetListImpl()
-
-
Method Details
-
getCSSStyleSheets
getCSSStyleSheets.
- Returns:
- the list of style sheets
-
getLength
public int getLength()getLength.
- Returns:
- the number of style sheets
-
add
Adds a CSSStyleSheet.- Parameters:
cssStyleSheet
- the CSSStyleSheet
-
merge
Merges all StyleSheets in this list into one.- Returns:
- the new (merged) StyleSheet
-
equals
-
hashCode
public int hashCode()
-