@Role public interface StreamParser
void parse(Reader source, Listener listener) throws ParseException
source- the content to parse
listener- receive event for each element
ParseException- 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–2021 XWiki. All rights reserved.