compact2, compact3
org.w3c.dom.css

## Interface Counter

-     public interface Counter

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

  See also the Document Object Model (DOM) Level 2 Style Specification.

  Since:
    DOM Level 2

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | `getIdentifier()` | This attribute is used for the identifier of the counter.
    `String` | `getListStyle()` | This attribute is used for the style of the list.
    `String` | `getSeparator()` | This attribute is used for the separator of the nested counters.

- - ### Method Detail

    - #### getIdentifier

          String getIdentifier()

      This attribute is used for the identifier of the counter.

    - #### getListStyle

          String getListStyle()

      This attribute is used for the style of the list.

    - #### getSeparator

          String getSeparator()

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

Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2005, 2026, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.