public class CounterImpl extends Object implements org.w3c.dom.css.Counter, CSSFormatable, Serializable
Counter.| Constructor and Description |
|---|
CounterImpl() |
CounterImpl(boolean separatorSpecified,
LexicalUnit lu)
Creates new CounterImpl.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCssText()
Same as
getCssText(CSSFormat) but using the default format. |
String |
getCssText(CSSFormat format)
Returns a string representation of the rule based on the given format.
|
String |
getIdentifier() |
String |
getListStyle() |
String |
getSeparator() |
void |
setIdentifier(String identifier) |
void |
setListStyle(String listStyle) |
void |
setSeparator(String separator) |
String |
toString() |
public CounterImpl(boolean separatorSpecified,
LexicalUnit lu)
throws DOMException
separatorSpecified - true if the separator is specifiedlu - the lexical unitDOMException - in case of errorpublic CounterImpl()
public void setIdentifier(String identifier)
public void setListStyle(String listStyle)
public void setSeparator(String separator)
public String getIdentifier()
getIdentifier in interface org.w3c.dom.css.Counterpublic String getListStyle()
getListStyle in interface org.w3c.dom.css.Counterpublic String getSeparator()
getSeparator in interface org.w3c.dom.css.Counterpublic String getCssText()
getCssText(CSSFormat) but using the default format.public String getCssText(CSSFormat format)
getCssText in interface CSSFormatableformat - the formatting rulesCopyright © 1999–2022. All rights reserved.