org.apache.maven.doxia.module.twiki.parser
Class TextParser
java.lang.Object
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 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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextParser
public TextParser(org.apache.maven.doxia.module.twiki.parser.WikiWordLinkResolver resolver)
- Creates the TextParser.
- Parameters:
resolver
- resolver for wikiWord links
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-2012 The Apache Software Foundation. All Rights Reserved.