org.apache.maven.doxia.module.twiki
Class TWikiParser

java.lang.Object
  extended byorg.apache.maven.doxia.parser.AbstractParser
      extended byorg.apache.maven.doxia.parser.AbstractTextParser
          extended byorg.apache.maven.doxia.module.twiki.TWikiParser
All Implemented Interfaces:
Markup, Parser, TextMarkup

public class TWikiParser
extends AbstractTextParser

Parse the twiki file format

Since:
1.0
Version:
$Id: TWikiParser.java 564180 2007-08-09 12:15:44Z vsiveton $
Author:
Juan F. Codagnone
Plexus component:
role:
"org.apache.maven.doxia.parser.Parser"
role-hint:
"twiki"

Field Summary
 
Fields inherited from class org.apache.maven.doxia.parser.AbstractParser
macroManager, secondParsing
 
Fields inherited from interface org.apache.maven.doxia.markup.TextMarkup
PIPE
 
Fields inherited from interface org.apache.maven.doxia.markup.Markup
EOL, EQUAL, GREATER_THAN, LEFT_CURLY_BRACKET, LEFT_SQUARE_BRACKET, LESS_THAN, MINUS, PLUS, QUOTE, RIGHT_CURLY_BRACKET, RIGHT_SQUARE_BRACKET, SLASH, SPACE, STAR
 
Fields inherited from interface org.apache.maven.doxia.parser.Parser
JUSTIFY_CENTER, JUSTIFY_LEFT, JUSTIFY_RIGHT, ROLE, TXT_TYPE, UNKNOWN_TYPE, XML_TYPE
 
Constructor Summary
TWikiParser()
          Creates the TWikiParser.
 
Method Summary
 List parse(ByLineSource source)
           
 void parse(Reader reader, Sink sink)
          
 
Methods inherited from class org.apache.maven.doxia.parser.AbstractTextParser
getType
 
Methods inherited from class org.apache.maven.doxia.parser.AbstractParser
executeMacro, getBasedir, setSecondParsing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TWikiParser

public TWikiParser()
Creates the TWikiParser.

Method Detail

parse

public final List parse(ByLineSource source)
                 throws ParseException
Parameters:
source - source to parse
Returns:
the blocks that represent source
Throws:
ParseException - on error

parse

public final void parse(Reader reader,
                        Sink sink)
                 throws ParseException

Throws:
ParseException


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