Class TextParser


  • public class TextParser
    extends java.lang.Object
    Parse almost plain text in search of WikiWords, links, ...
    Author:
    Juan F. Codagnone
    • Constructor Summary

      Constructors 
      Constructor Description
      TextParser​(org.apache.maven.doxia.module.twiki.parser.WikiWordLinkResolver resolver)
      Creates the TextParser.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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