org.apache.maven.doxia.module.twiki
Class TWikiParser
java.lang.Object
org.apache.maven.doxia.parser.AbstractParser
org.apache.maven.doxia.parser.AbstractTextParser
org.apache.maven.doxia.module.twiki.TWikiParser
- All Implemented Interfaces:
- Markup, TextMarkup, Parser
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
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 |
Constructor Summary |
TWikiParser()
Creates the TWikiParser. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TWikiParser
public TWikiParser()
- Creates the TWikiParser.
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
- Parses the given source model and emits Doxia events into the given sink.
- Parameters:
reader
- A reader that provides the source document.sink
- A sink that consumes the Doxia events.
- Throws:
ParseException
- if the model could not be parsed.
Copyright © 2005-2010 Apache Software Foundation. All Rights Reserved.