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 Object

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

Version:
$Id: TextParser.java 1462774 2013-03-30 15:09:53Z rfscholte $
Author:
Juan F. Codagnone

Constructor Summary
TextParser(org.apache.maven.doxia.module.twiki.parser.WikiWordLinkResolver resolver)
          Creates the TextParser.
 
Method Summary
 List<Block> parse(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 List<Block> parse(String line)

parse.

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


Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.