Class NumberedListItem

java.lang.Object
org.apache.maven.doxia.module.fo.NumberedListItem

public class NumberedListItem extends Object
Used to count the position in a numbered list.
Since:
1.1
Author:
ltheussl
  • Constructor Details

    • NumberedListItem

      public NumberedListItem(int itemFormat)
      Constructor. Initializes count and format.
      Parameters:
      itemFormat - The numbering format of this List. Should be one of the formats defined in Sink.
  • Method Details

    • 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 String getListItemSymbol()
      Returns the symbol for the current list item.
      Returns:
      The symbol for the current list item.