org.w3c.dom.css
Interface CSS2CounterIncrement

All Superinterfaces:
CSSValue

public interface CSS2CounterIncrement
extends CSSValue

The CSS2CounterIncrement interface represents a simple value for the counter-increment CSS Level 2 property.

For this extension of the CSSValue interface, the valueType attribute of the underlying CSSValue interface shall be CSS_CUSTOM .

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

Since:
DOM Level 2

Fields inherited from interface org.w3c.dom.css.CSSValue
CSS_CUSTOM, CSS_INHERIT, CSS_PRIMITIVE_VALUE, CSS_VALUE_LIST
 
Method Summary
 java.lang.String getIdentifier()
          The element name.
 short getIncrement()
          The increment.
 void setIdentifier(java.lang.String identifier)
           
 void setIncrement(short increment)
           
 
Methods inherited from interface org.w3c.dom.css.CSSValue
getCssText, getCssValueType, setCssText
 

Method Detail

getIdentifier

public java.lang.String getIdentifier()
The element name.
Throws:
DOMException - SYNTAX_ERR: Raised if the specified identifier has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this identifier is readonly.

setIdentifier

public void setIdentifier(java.lang.String identifier)
                   throws DOMException

getIncrement

public short getIncrement()
The increment. (Default value is 1.)
Throws:
DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this identifier is readonly.

setIncrement

public void setIncrement(short increment)
                  throws DOMException

Source code is GPL'd at http://xmlconf.sourceforge.net.