@Role
public interface StreamParser
Syntax getSyntax()
void parse(Reader source, Listener listener) throws ParseException
source - the content to parselistener - receive event for each elementParseException - if the source cannot be read or an unexpected error happens during the parsing. Parsers
should be written to not generate any error as much as possible.Copyright © 2004–2014 XWiki. All rights reserved.