com.aspose.html.dom.css

Class CSSValueList

    • Constructor Detail

      • CSSValueList

        public CSSValueList()

        Initializes a new instance of the CSSValueList class.

      • CSSValueList

        public CSSValueList(com.aspose.ms.System.Collections.Generic.IGenericList<CSSValue> values)

        Initializes a new instance of the CSSValueList class.

        Parameters:
        values - The values.
      • CSSValueList

        public CSSValueList(CSSValue... values)

        Initializes a new instance of the CSSValueList class.

        Parameters:
        values - The values.
    • Method Detail

      • add

        public void add(CSSValue value)
      • getCSSText

        public String getCSSText()

        A string representation of the current value.

        Value: The CSS text.
        Specified by:
        getCSSText in class CSSValue
      • setCSSText

        public void setCSSText(String value)
        Description copied from class: CSSValue

        A string representation of the current value.

        Value: The CSS text.
        Specified by:
        setCSSText in class CSSValue
      • getLength

        public int getLength()

        The number of CSSValues in the list.

        Specified by:
        getLength in interface ICSSValueList
      • iterator

        public com.aspose.ms.System.Collections.Generic.IGenericEnumerator<CSSValue> iterator()

        Returns an enumerator that iterates through the collection.

        Specified by:
        iterator in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<CSSValue>
        Specified by:
        iterator in interface com.aspose.ms.System.Collections.IEnumerable<CSSValue>
        Specified by:
        iterator in interface Iterable<CSSValue>
        Returns:
        A T:System.Collections.Generic.IEnumerator`1 that can be used to iterate through the collection.
      • iterator_Rename_Namesake

        public com.aspose.ms.System.Collections.IEnumerator iterator_Rename_Namesake()

        Returns an enumerator that iterates through a collection.

        Returns:
        An T:System.Collections.IEnumerator object that can be used to iterate through the collection.