org.w3c.dom.css
Interface CSS2CounterReset

All Superinterfaces:
CSSValue

public interface CSS2CounterReset
extends CSSValue

The CSS2CounterReset interface represents a simple value for the counter-reset 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 getReset()
          The reset (default value is 0).
 void setIdentifier(java.lang.String identifier)
           
 void setReset(short reset)
           
 
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

getReset

public short getReset()
The reset (default value is 0).
Throws:
DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this identifier is readonly.

setReset

public void setReset(short reset)
              throws DOMException

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