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 785531 2009-06-17 09:47:59Z ltheussl $
Author:
Juan F. Codagnone

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

parse.

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


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