Oxygen XML Editor 12.2 Author API

ro.sync.ecss.css
Class CounterContent

java.lang.Object
  extended by ro.sync.ecss.css.CounterContent
All Implemented Interfaces:
StaticContent
Direct Known Subclasses:
CountersContent

public class CounterContent
extends java.lang.Object
implements StaticContent

Contains counter information: name, list style.


Field Summary
 
Fields inherited from interface ro.sync.ecss.css.StaticContent
COUNTER_CONTENT, COUNTERS_CONTENT, TEXT_CONTENT, URI_CONTENT
 
Constructor Summary
CounterContent(java.lang.String cName)
          Constructor
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getCounterName()
           
 java.lang.String getListStyleType()
           
 int getType()
           
 int hashCode()
           
 void setListStyleType(java.lang.String styleType)
          Sets the list style type.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CounterContent

public CounterContent(java.lang.String cName)
Constructor

Parameters:
cName - The name of the counter.
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object
See Also:
Object.hashCode()

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object
See Also:
Object.equals(java.lang.Object)

getType

public int getType()
Specified by:
getType in interface StaticContent
Returns:
The content type.
See Also:
StaticContent.getType()

getCounterName

public java.lang.String getCounterName()
Returns:
The name of the counter.

getListStyleType

public java.lang.String getListStyleType()
Returns:
The list style type of the counter.

setListStyleType

public void setListStyleType(java.lang.String styleType)
Sets the list style type.

Parameters:
styleType - The style type.

Oxygen XML Editor 12.2 Author API

© Copyright SyncRO Soft SRL 2002 - 2010.