org.apache.maven.doxia.module.twiki.parser
Class NumeratedListBlock

java.lang.Object
  extended byorg.apache.maven.doxia.module.twiki.parser.AbstractFatherBlock
      extended byorg.apache.maven.doxia.module.twiki.parser.ListBlock
          extended byorg.apache.maven.doxia.module.twiki.parser.NumeratedListBlock
All Implemented Interfaces:
Block

public class NumeratedListBlock
extends ListBlock

    1. item1
    2. item2
        - item2.1
        ...
 

Since:
Nov 8, 2005
Author:
Juan F. Codagnone

Constructor Summary
NumeratedListBlock(int type, ListItemBlock[] blocks)
          Creates the UnorderedListBlock.
 
Method Summary
 void after(Sink sink)
          method called after traversing the childs
 void before(Sink sink)
          method called before traversing the childs
 boolean equals(Object obj)
           
 int hashCode()
           
 
Methods inherited from class org.apache.maven.doxia.module.twiki.parser.AbstractFatherBlock
getBlocks, traverse
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumeratedListBlock

public NumeratedListBlock(int type,
                          ListItemBlock[] blocks)
                   throws IllegalArgumentException
Creates the UnorderedListBlock.

Parameters:
type - order item type. one of Sink#NUMBERING_....
blocks - list of list items
Throws:
IllegalArgumentException - if listItemBlocks is null
Method Detail

before

public final void before(Sink sink)
Description copied from class: AbstractFatherBlock
method called before traversing the childs

Specified by:
before in class AbstractFatherBlock
Parameters:
sink - a sink to fill
See Also:
AbstractFatherBlock.before(org.apache.maven.doxia.sink.Sink)

after

public final void after(Sink sink)
Description copied from class: AbstractFatherBlock
method called after traversing the childs

Specified by:
after in class AbstractFatherBlock
Parameters:
sink - a sink to fill
See Also:
AbstractFatherBlock.after(org.apache.maven.doxia.sink.Sink)

equals

public final boolean equals(Object obj)
Overrides:
equals in class AbstractFatherBlock
See Also:
AbstractFatherBlock.equals(Object)

hashCode

public final int hashCode()
Overrides:
hashCode in class AbstractFatherBlock
See Also:
AbstractFatherBlock.hashCode()


Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.