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

Class ListItemBlock

public class ListItemBlock extends AbstractFatherBlock

Block that represents the item in a list

Since: Nov 1, 2005

Author: Juan F. Codagnone

Constructor Summary
ListItemBlock(Block[] blocks)
ListItemBlock(Block[] blocks, ListBlock innerList)
Creates the ListItemBlock.
Method Summary
voidafter(Sink sink)
voidbefore(Sink sink)
booleanequals(Object obj)
ListBlockgetInnerList()
Returns the innerList.
inthashCode()

Constructor Detail

ListItemBlock

public ListItemBlock(Block[] blocks)

See Also: (Block[], ListBlock)

ListItemBlock

public ListItemBlock(Block[] blocks, ListBlock innerList)
Creates the ListItemBlock.

Parameters: blocks text innerList child list

Throws: IllegalArgumentException if textBlocks is null

Method Detail

after

public final void after(Sink sink)

See Also: after

before

public final void before(Sink sink)

See Also: before

equals

public final boolean equals(Object obj)

See Also: Object#equals(Object)

getInnerList

public final ListBlock getInnerList()
Returns the innerList.

Returns: UnorderedListBlock with the innerList.

hashCode

public final int hashCode()

See Also: Object#hashCode()

Copyright © 2002-2010 Apache Software Foundation. All Rights Reserved.