org.apache.maven.doxia.module.fml

Class FmlParser

public class FmlParser extends Object implements Parser

Parse a fml model and emit events into the specified doxia Sink.

Since: 1.0

Version: $Id: FmlParser.java 566992 2007-08-17 09:55:05Z ltheussl $

Author: Emmanuel Venisse

UNKNOWN: role-hint="fml"

Method Summary
intgetType()
voidparse(Reader reader, Sink sink)
FaqsparseFml(XmlPullParser parser, Sink sink)
Parses an fml and emits the events into the given sink.

Method Detail

getType

public int getType()
{@inheritDoc }

parse

public void parse(Reader reader, Sink sink)
{@inheritDoc }

parseFml

public Faqs parseFml(XmlPullParser parser, Sink sink)
Parses an fml and emits the events into the given sink.

Parameters: parser The parser to use. sink The sink to consume the event.

Returns: Faqs The parsed faqs model.

Throws: IOException if the model cannot be read. XmlPullParserException if the model cannot be parsed.

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