com.aspose.html.dom.css.counters

Class CounterStyleCollection

  • All Implemented Interfaces:
    com.aspose.ms.System.Collections.Generic.IGenericEnumerable<ICounterStyle>, com.aspose.ms.System.Collections.IEnumerable<ICounterStyle>, Iterable<ICounterStyle>


    public class CounterStyleCollection
    extends Object
    implements com.aspose.ms.System.Collections.Generic.IGenericEnumerable<ICounterStyle>

    Represents CSS counters collection

    • Constructor Detail

      • CounterStyleCollection

        public CounterStyleCollection(CounterStyleFactory factory)
    • Method Detail

      • get_Item

        public ICounterStyle get_Item(String styleName)

        Gets the CounterStyle with the specified style name.

        Parameters:
        styleName - The style name
        Returns:
        The CounterStyle
      • addOrUpdate

        public void addOrUpdate(CSSCounterStyleRule style)
      • iterator

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

        Returns an enumerator that iterates through the collection.

        Specified by:
        iterator in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<ICounterStyle>
        Specified by:
        iterator in interface com.aspose.ms.System.Collections.IEnumerable<ICounterStyle>
        Specified by:
        iterator in interface Iterable<ICounterStyle>
        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.