org.apache.maven.doxia.module.confluence.parser
Class ChildBlocksBuilder
java.lang.Object
org.apache.maven.doxia.module.confluence.parser.ChildBlocksBuilder
public class ChildBlocksBuilder
- extends Object
Re-usable builder that can be used to generate paragraph and list item text from a string containing all the content
and wiki formatting. This class is intentionally stateful, but cheap to create, so create one as needed and keep it
on the stack to preserve stateless behaviour in the caller.
- Since:
- 1.1
- Version:
- $Id: ChildBlocksBuilder.java 773275 2009-05-09 21:40:21Z hboutemy $
- Author:
- Dave Syer
Method Summary |
List |
getBlocks()
Utility method to convert marked up content into blocks for rendering. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChildBlocksBuilder
public ChildBlocksBuilder(String input)
Constructor for ChildBlocksBuilder.
- Parameters:
input
- the input.
getBlocks
public List getBlocks()
- Utility method to convert marked up content into blocks for rendering.
- Returns:
- a list of Blocks that can be used to render it
Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.