org.apache.batik.css
Class CSSOMUnknownRule
java.lang.Object
|
+--org.apache.batik.css.AbstractCSSRule
|
+--org.apache.batik.css.CSSOMUnknownRule
- All Implemented Interfaces:
- CSSRule, CSSUnknownRule
- public class CSSOMUnknownRule
- extends AbstractCSSRule
- implements CSSUnknownRule
This class provides an implementation of the CSSUnknownRule
interface.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cssText
protected java.lang.String cssText
- The text of the rule.
parser
protected Parser parser
- The CSS parser.
ruleHandler
protected DocumentHandler ruleHandler
- The CSS document handler.
CSSOMUnknownRule
public CSSOMUnknownRule(CSSStyleSheet parent,
CSSRule pr,
java.lang.String text,
Parser p)
- Creates a new CSSOMUnknownRule.
getType
public short getType()
- DOM: Implements
CSSRule.getType()
.
- Specified by:
getType
in interface CSSRule
getCssText
public java.lang.String getCssText()
- DOM: Implements
CSSRule.getCssText()
.
- Specified by:
getCssText
in interface CSSRule
- Following copied from interface:
org.w3c.dom.css.CSSRule
- Throws:
DOMException
- SYNTAX_ERR: Raised if the specified CSS string value has a syntax
error and is unparsable.
INVALID_MODIFICATION_ERR: Raised if the specified CSS string
value represents a different type of rule than the current one.
HIERARCHY_REQUEST_ERR: Raised if the rule cannot be inserted at
this point in the style sheet.
NO_MODIFICATION_ALLOWED_ERR: Raised if the rule is readonly.
setCssText
public void setCssText(java.lang.String cssText)
throws DOMException
- DOM: Implements
CSSRule.setCssText(String)
.
- Specified by:
setCssText
in interface CSSRule
- Following copied from interface:
org.w3c.dom.css.CSSRule
- Throws:
DOMException
- SYNTAX_ERR: Raised if the specified CSS string value has a syntax
error and is unparsable.
INVALID_MODIFICATION_ERR: Raised if the specified CSS string
value represents a different type of rule than the current one.
HIERARCHY_REQUEST_ERR: Raised if the rule cannot be inserted at
this point in the style sheet.
NO_MODIFICATION_ALLOWED_ERR: Raised if the rule is readonly.
Copyright © 2001 Apache Software Foundation. All Rights Reserved.