public class CSSImportRuleImpl extends AbstractCSSRuleImpl
| Constructor and Description |
|---|
CSSImportRuleImpl(CSSStyleSheetImpl parentStyleSheet,
AbstractCSSRuleImpl parentRule,
String href,
MediaListImpl media)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCssText()
getCssText.
|
String |
getHref()
getHref.
|
MediaListImpl |
getMedia()
getMedia.
|
CSSStyleSheetImpl |
getStyleSheet()
getStyleSheet.
|
int |
hashCode() |
void |
setCssText(String cssText)
Sets the css text.
|
String |
toString() |
getParentRule, getParentStyleSheet, setParentRule, setParentStyleSheetgetLocator, setLocatorpublic CSSImportRuleImpl(CSSStyleSheetImpl parentStyleSheet, AbstractCSSRuleImpl parentRule, String href, MediaListImpl media)
parentStyleSheet - the parent style sheetparentRule - the parent rulehref - the hrefmedia - the mediapublic String getCssText()
getCssText.
getCssText in class AbstractCSSRuleImplpublic void setCssText(String cssText) throws DOMException
setCssText in class AbstractCSSRuleImplcssText - the new css textDOMExceptionpublic String getHref()
getHref.
public MediaListImpl getMedia()
getMedia.
public CSSStyleSheetImpl getStyleSheet()
getStyleSheet.
public boolean equals(Object obj)
equals in class AbstractCSSRuleImplpublic int hashCode()
hashCode in class AbstractCSSRuleImplCopyright © 2024 HtmlUnit. All rights reserved.