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

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

public class TextParser
extends java.lang.Object

Parse almost plain text in search of WikiWords, links, ...

Version:
$Id: TextParser.java 1090706 2011-04-09 23:15:28Z hboutemy $
Author:
Juan F. Codagnone

Constructor Summary
TextParser(org.apache.maven.doxia.module.twiki.parser.WikiWordLinkResolver resolver)
          Creates the TextParser.
 
Method Summary
 java.util.List<Block> parse(java.lang.String line)
          parse.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextParser

public TextParser(org.apache.maven.doxia.module.twiki.parser.WikiWordLinkResolver resolver)
Creates the TextParser.

Parameters:
resolver - resolver for wikiWord links
Method Detail

parse

public final java.util.List<Block> parse(java.lang.String line)

parse.

Parameters:
line - line to parse
Returns:
a list of block that represents the input


Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.