public interface Doxia
static final String ROLE
void parse(Reader source, String parserId, Sink sink) throws ParserNotFoundException, ParseException
source - not null reader that provides the source document.
You could use newReader methods from ReaderFactory.parserId - Identifier for the parser to use.sink - A sink that consumes the Doxia events.ParserNotFoundException - if no parser could be found for the given id.ParseException - if the model could not be parsed.Parser getParser(String parserId) throws ParserNotFoundException
parserId.parserId - Identifier for the parser to use.ParserNotFoundException - if no parser could be found for the given id.Copyright © 2005–2014 The Apache Software Foundation. All rights reserved.