Package org.htmlunit.cssparser.dom
Class CSSStyleSheetListImpl
java.lang.Object
org.htmlunit.cssparser.dom.CSSStyleSheetListImpl
Implementation of StyleSheetList.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(CSSStyleSheetImpl cssStyleSheet) Adds a CSSStyleSheet.boolean
private boolean
int
int
hashCode()
merge()
Merges all StyleSheets in this list into one.
-
Field Details
-
cssStyleSheets_
-
-
Constructor Details
-
CSSStyleSheetListImpl
public CSSStyleSheetListImpl()
-
-
Method Details
-
getCSSStyleSheets
- Returns:
- the list of style sheets
-
getLength
public int 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
-
equalsStyleSheets
-
hashCode
public int hashCode()
-