org.apache.maven.doxia.module.twiki.parser
Class NumeratedListBlock
java.lang.Object
org.apache.maven.doxia.module.twiki.parser.AbstractFatherBlock
org.apache.maven.doxia.module.twiki.parser.ListBlock
org.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
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
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.