Class NumeratedListBlock

  • All Implemented Interfaces:
    Block

    class NumeratedListBlock
    extends ListBlock
        1. item1
        2. item2
            - item2.1
            ...
     
    Version:
    $Id$
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int type
      order item type.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) void after​(Sink sink)
      method called after traversing the childs
      (package private) void before​(Sink sink)
      method called before traversing the childs
      boolean equals​(java.lang.Object obj)
      int hashCode()
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • type

        private final int type
        order item type. one of Sink#NUMBERING_....
    • Constructor Detail

      • NumeratedListBlock

        NumeratedListBlock​(int type,
                           ListItemBlock[] blocks)
        Creates the UnorderedListBlock.
        Parameters:
        type - order item type. one of Sink#NUMBERING_....
        blocks - list of list items, not null.