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

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

public class TWikiParser
extends org.apache.maven.doxia.parser.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

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
 java.util.List parse(org.apache.maven.doxia.util.ByLineSource source)
           
 void parse(java.io.Reader reader, org.apache.maven.doxia.sink.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 java.util.List parse(org.apache.maven.doxia.util.ByLineSource source)
                           throws org.apache.maven.doxia.parser.ParseException
Parameters:
source - source to parse
Returns:
the blocks that represent source
Throws:
org.apache.maven.doxia.parser.ParseException - on error

parse

public final void parse(java.io.Reader reader,
                        org.apache.maven.doxia.sink.Sink sink)
                 throws org.apache.maven.doxia.parser.ParseException

Throws:
org.apache.maven.doxia.parser.ParseException


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