Module io.sf.carte.css4j
Class ValueFactory.ListValueItem
java.lang.Object
io.sf.carte.doc.style.css.property.ValueFactory.ListValueItem
- All Implemented Interfaces:
CSSValueItem,ValueItem
- Enclosing class:
ValueFactory
The return value of
ValueFactory.parseBracketList(LexicalUnit, AbstractCSSStyleDeclaration, boolean).-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the StyleValue associated to this item.Get the next lexical unit after processing this item.voidUse the given error handler to handle warnings.booleanHas this item any warning to report ?
-
Constructor Details
-
ListValueItem
public ListValueItem()
-
-
Method Details
-
getCSSValue
Description copied from interface:ValueItemGets the StyleValue associated to this item.If there is an item there must be a value, so this method cannot return null.
- Specified by:
getCSSValuein interfaceCSSValueItem- Specified by:
getCSSValuein interfaceValueItem- Returns:
- the StyleValue associated to this item.
-
getNextLexicalUnit
Description copied from interface:CSSValueItemGet 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:
getNextLexicalUnitin interfaceCSSValueItem- Returns:
- the next lexical unit after this item was processed.
-
hasWarnings
public boolean hasWarnings()Description copied from interface:CSSValueItemHas this item any warning to report ?- Specified by:
hasWarningsin interfaceCSSValueItem- Returns:
trueif this item any warning to report.
-
handleSyntaxWarnings
Description copied from interface:CSSValueItemUse the given error handler to handle warnings.- Specified by:
handleSyntaxWarningsin interfaceCSSValueItem- Parameters:
handler- the error handler.
-