Class ValueFactory.ListValueItem

java.lang.Object
io.sf.carte.doc.style.css.property.ValueFactory.ListValueItem
All Implemented Interfaces:
CSSValueItem, ValueItem
Enclosing class:
ValueFactory

public static class ValueFactory.ListValueItem extends Object
  • Constructor Details

    • ListValueItem

      public ListValueItem()
  • Method Details

    • getCSSValue

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

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

      Specified by:
      getCSSValue in interface CSSValueItem
      Specified by:
      getCSSValue in interface ValueItem
      Returns:
      the StyleValue associated to this item.
    • getNextLexicalUnit

      public LexicalUnit getNextLexicalUnit()
      Description copied from interface: CSSValueItem
      Get the next lexical unit after processing this item.

      This method is useful as some primitive values (ratio) may take more than one unit.

      Specified by:
      getNextLexicalUnit in interface CSSValueItem
      Returns:
      the next lexical unit after this item was processed.
    • hasWarnings

      public boolean hasWarnings()
      Description copied from interface: CSSValueItem
      Has this item any warning to report ?
      Specified by:
      hasWarnings in interface CSSValueItem
      Returns:
      true if this item any warning to report.
    • handleSyntaxWarnings

      public void handleSyntaxWarnings(StyleDeclarationErrorHandler handler)
      Description copied from interface: CSSValueItem
      Use the given error handler to handle warnings.
      Specified by:
      handleSyntaxWarnings in interface CSSValueItem
      Parameters:
      handler - the error handler.