Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.steadystate.css.dom
Class CounterImpl  view CounterImpl download CounterImpl.java

java.lang.Object
  extended bycom.steadystate.css.dom.CounterImpl
All Implemented Interfaces:
org.w3c.dom.css.Counter, java.io.Serializable

public class CounterImpl
extends java.lang.Object
implements org.w3c.dom.css.Counter, java.io.Serializable

Version:
$Release$

Field Summary
private  java.lang.String _identifier
           
private  java.lang.String _listStyle
           
private  java.lang.String _separator
           
 
Constructor Summary
CounterImpl(boolean separatorSpecified, org.w3c.css.sac.LexicalUnit lu)
          Creates new CounterImpl
 
Method Summary
 java.lang.String getIdentifier()
          This attribute is used for the identifier of the counter.
 java.lang.String getListStyle()
          This attribute is used for the style of the list.
 java.lang.String getSeparator()
          This attribute is used for the separator of the nested counters.
 java.lang.String toString()
          Convert this Object to a human-readable String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_identifier

private java.lang.String _identifier

_listStyle

private java.lang.String _listStyle

_separator

private java.lang.String _separator
Constructor Detail

CounterImpl

public CounterImpl(boolean separatorSpecified,
                   org.w3c.css.sac.LexicalUnit lu)
Creates new CounterImpl

Method Detail

getIdentifier

public java.lang.String getIdentifier()
Description copied from interface: org.w3c.dom.css.Counter
This attribute is used for the identifier of the counter.

Specified by:
getIdentifier in interface org.w3c.dom.css.Counter

getListStyle

public java.lang.String getListStyle()
Description copied from interface: org.w3c.dom.css.Counter
This attribute is used for the style of the list.

Specified by:
getListStyle in interface org.w3c.dom.css.Counter

getSeparator

public java.lang.String getSeparator()
Description copied from interface: org.w3c.dom.css.Counter
This attribute is used for the separator of the nested counters.

Specified by:
getSeparator in interface org.w3c.dom.css.Counter

toString

public java.lang.String toString()
Description copied from class: java.lang.Object
Convert this Object to a human-readable String. There are no limits placed on how long this String should be or what it should contain. We suggest you make it as intuitive as possible to be able to place it into System.out.println() 55 and such.

It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.

This method will be called when performing string concatenation with this object. If the result is null, string concatenation will instead use "null".

The default implementation returns getClass().getName() + "@" + Integer.toHexString(hashCode()).