Class CssCompositeValueNode

  • All Implemented Interfaces:
    Locatable
    Direct Known Subclasses:
    CssMathNode

    public class CssCompositeValueNode
    extends CssValueNode
    A node that contains a list of value nodes that together represent one logical value. For example, font-family alternatives like Arial, Helvetica, Sans-serif are logically one value in the font declaration. Likewise the font size specification 12pt/14pt contains two values (the font size and line height) that are really logically one value.
    • Constructor Detail

      • CssCompositeValueNode

        public CssCompositeValueNode​(java.util.List<CssValueNode> compositeValues,
                                     CssCompositeValueNode.Operator operator,
                                     @Nullable
                                     SourceCodeLocation sourceCodeLocation)
        Constructor of a composite value node.
        Parameters:
        compositeValues - List of composite values
        operator - Operator that connects the values
        sourceCodeLocation - The location of the code
      • CssCompositeValueNode

        public CssCompositeValueNode​(CssCompositeValueNode node)
        Copy constructor for a composite value node.
        Parameters:
        node - The composite node to copy