@Role
public interface StreamParser
| Modifier and Type | Method and Description |
|---|---|
Syntax |
getSyntax() |
void |
parse(Reader source,
Listener listener) |
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–2019 XWiki. All rights reserved.