Package org.htmlunit.cssparser.dom
Class CSSUnknownRuleImpl
java.lang.Object
org.htmlunit.cssparser.parser.AbstractLocatable
org.htmlunit.cssparser.dom.AbstractCSSRuleImpl
org.htmlunit.cssparser.dom.CSSUnknownRuleImpl
- All Implemented Interfaces:
Serializable
,Locatable
Implementation of CSSUnknownRule.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCSSUnknownRuleImpl
(CSSStyleSheetImpl parentStyleSheet, AbstractCSSRuleImpl parentRule, String text) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
void
setCssText
(String cssText) Sets the css text.toString()
Methods inherited from class org.htmlunit.cssparser.dom.AbstractCSSRuleImpl
getParentRule, getParentStyleSheet, setParentRule, setParentStyleSheet
Methods inherited from class org.htmlunit.cssparser.parser.AbstractLocatable
getLocator, setLocator
-
Field Details
-
text_
-
-
Constructor Details
-
CSSUnknownRuleImpl
public CSSUnknownRuleImpl(CSSStyleSheetImpl parentStyleSheet, AbstractCSSRuleImpl parentRule, String text) Ctor.- Parameters:
parentStyleSheet
- the parent style sheetparentRule
- the parent ruletext
- the text
-
-
Method Details
-
getCssText
- Specified by:
getCssText
in classAbstractCSSRuleImpl
- Returns:
- the current css text
-
setCssText
Sets the css text.- Specified by:
setCssText
in classAbstractCSSRuleImpl
- Parameters:
cssText
- the new css text- Throws:
DOMException
-
toString
-
equals
- Overrides:
equals
in classAbstractCSSRuleImpl
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAbstractCSSRuleImpl
-