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

java.lang.Object
  extended by org.apache.maven.doxia.module.twiki.parser.FormatedTextParser

public class FormatedTextParser
extends java.lang.Object

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

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

Constructor Summary
FormatedTextParser()
           
 
Method Summary
 Block[] parse(java.lang.String line)
           
 void setTextParser(TextParser textParser)
          Sets the formatTextParser.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormatedTextParser

public FormatedTextParser()
Method Detail

parse

public final Block[] parse(java.lang.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.