@Role
public interface Parser
Block
s).Modifier and Type | Method and Description |
---|---|
Syntax |
getSyntax() |
XDOM |
parse(Reader source) |
Syntax getSyntax()
XDOM parse(Reader source) throws ParseException
source
- the content to parseBlock
sParseException
- 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.