com.aspose.html.dom.css

Class Counter



  • @DOMObjectAttribute
     @DOMNameAttribute(name="Counter")
    public class Counter
    extends DOMObject

    The Counter interface is used to represent any counter or counters function value. This interface reflects the values in the underlying style property.

    • Constructor Detail

      • Counter

        public Counter(String identifier,
                       String listStyle,
                       String separator)

        Initializes a new instance of the Counter class.

        Parameters:
        identifier - The identifier.
        listStyle - The list style.
        separator - The separator.
    • Method Detail

      • getIdentifier

        @DOMNameAttribute(name="identifier")
        public String getIdentifier()

        This attribute is used for the identifier of the counter.

        Value: The counter identifier.
      • getListStyle

        @DOMNameAttribute(name="identifier")
        public String getListStyle()

        This attribute is used for the style of the list.

        Value: The list style identifier.
      • getSeparator

        @DOMNameAttribute(name="separator")
        public String getSeparator()

        This attribute is used for the separator of the nested counters.

        Value: The counter separator.