Class InheritValue

All Implemented Interfaces:
CSSValue, ValueItem, Serializable, Cloneable

public class InheritValue extends KeywordValue
An inherit value.
See Also:
  • Constructor Details

    • InheritValue

      protected InheritValue()
      Must access instance through static method.
  • Method Details

    • getValue

      public static InheritValue getValue()
    • getPrimitiveType

      public CSSValue.Type getPrimitiveType()
      Description copied from interface: CSSValue
      Get the primitive type.
      the primitive type.
    • getCssText

      public String getCssText()
      Description copied from class: StyleValue
      Get a string representation of the current value.
      Specified by:
      getCssText in interface CSSValue
      Specified by:
      getCssText in class StyleValue
      the css text representing the value of this property.
    • writeCssText

      public void writeCssText(SimpleWriter wri) throws IOException
      Description copied from interface: CSSValue
      Serialize this value to a SimpleWriter.
      wri - the SimpleWriter.
      IOException - if an error happened while writing.
    • getCSSValue

      public KeywordValue getCSSValue()
      Description copied from interface: ValueItem
      Gets the CSSValue associated to this item.

      If there is an item there must be a value, so this method cannot return null.

      the CSSValue associated to this item.