Package org.apache.maven.doxia.module.fo
Class NumberedListItem
- java.lang.Object
-
- org.apache.maven.doxia.module.fo.NumberedListItem
-
public class NumberedListItem extends java.lang.ObjectUsed to count the position in a numbered list.- Since:
- 1.1
- Author:
- ltheussl
-
-
Constructor Summary
Constructors Constructor Description NumberedListItem(int itemFormat)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcount()Returns the current count, ie the position in the list.intformat()Returns the numbering format.java.lang.StringgetListItemSymbol()Returns the symbol for the current list item.voidnext()Increase the current count by 1.
-
-
-
Method Detail
-
count
public int count()
Returns the current count, ie the position in the list.- Returns:
- The current count.
-
format
public int format()
Returns the numbering format.- Returns:
- The numbering format.
-
next
public void next()
Increase the current count by 1.
-
getListItemSymbol
public java.lang.String getListItemSymbol()
Returns the symbol for the current list item.- Returns:
- The symbol for the current list item.
-
-