org.apache.batik.parser.style
Class CSSInheritValue

java.lang.Object
  |
  +--org.apache.batik.parser.style.AbstractCSSValue
        |
        +--org.apache.batik.parser.style.CSSInheritValue
All Implemented Interfaces:
CSSPrimitiveValue, CSSValue, CSSValueList

public class CSSInheritValue
extends AbstractCSSValue

This class represents CSS 'inherit' values


Field Summary
static CSSInheritValue INSTANCE
          The instance of this class.
 
Fields inherited from interface org.w3c.dom.css.CSSPrimitiveValue
CSS_ATTR, CSS_CM, CSS_COUNTER, CSS_DEG, CSS_DIMENSION, CSS_EMS, CSS_EXS, CSS_GRAD, CSS_HZ, CSS_IDENT, CSS_IN, CSS_KHZ, CSS_MM, CSS_MS, CSS_NUMBER, CSS_PC, CSS_PERCENTAGE, CSS_PT, CSS_PX, CSS_RAD, CSS_RECT, CSS_RGBCOLOR, CSS_S, CSS_STRING, CSS_UNKNOWN, CSS_URI
 
Fields inherited from interface org.w3c.dom.css.CSSValue
CSS_CUSTOM, CSS_INHERIT, CSS_PRIMITIVE_VALUE, CSS_VALUE_LIST
 
Constructor Summary
protected CSSInheritValue()
          This class do not need to be instantiated.
 
Method Summary
 java.lang.String getCssText()
          DOM: Implements CSSValue.getCssText().
 short getCssValueType()
          DOM: Implements CSSValue.getCssValueType().
 
Methods inherited from class org.apache.batik.parser.style.AbstractCSSValue
getCounterValue, getFloatValue, getLength, getPrimitiveType, getRectValue, getRGBColorValue, getStringValue, item, setCssText, setFloatValue, setStringValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final CSSInheritValue INSTANCE
The instance of this class.
Constructor Detail

CSSInheritValue

protected CSSInheritValue()
This class do not need to be instantiated.
Method Detail

getCssValueType

public short getCssValueType()
DOM: Implements CSSValue.getCssValueType().

getCssText

public java.lang.String getCssText()
DOM: Implements CSSValue.getCssText().
Following copied from interface: org.w3c.dom.css.CSSValue
Throws:
DOMException - SYNTAX_ERR: Raised if the specified CSS string value has a syntax error (according to the attached property) or is unparsable.
INVALID_MODIFICATION_ERR: Raised if the specified CSS string value represents a different type of values than the values allowed by the CSS property.
NO_MODIFICATION_ALLOWED_ERR: Raised if this value is readonly.


Copyright © 2001 Apache Software Foundation. All Rights Reserved.