W3cubDocs

/OpenJDK 21

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:
1.4, DOM Level 2

Method Summary

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 Details

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.

© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/jdk.xml.dom/org/w3c/dom/css/Counter.html