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

Class FormatedTextParser

public class FormatedTextParser extends Object

Parse looking for formated text (bold, italic, ...)

Since: Nov 2, 2005

Author: Juan F. Codagnone

Method Summary
Block[]parse(String line)
voidsetTextParser(TextParser textParser)
Sets the formatTextParser.

Method Detail

parse

public final Block[] parse(String line)

Parameters: line line to parse

Returns: TextBlock, ItalicBlock, BoldBlock, MonospacedBlock, ...

setTextParser

public final void setTextParser(TextParser textParser)
Sets the formatTextParser.

Parameters: textParser text parser to use TextParser with the formatTextParser.

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