|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.rendering.internal.parser.AbstractBlockParser
public abstract class AbstractBlockParser
Common code for Parser implementation that produce a XDOM from StreamParser.
| Constructor Summary | |
|---|---|
AbstractBlockParser()
|
|
| Method Summary | |
|---|---|
protected StreamParser |
getStreamParser()
|
XDOM |
parse(java.io.Reader source)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.xwiki.rendering.parser.Parser |
|---|
getSyntax |
| Constructor Detail |
|---|
public AbstractBlockParser()
| Method Detail |
|---|
protected StreamParser getStreamParser()
StreamParser to use to parser the input content
public XDOM parse(java.io.Reader source)
throws ParseException
parse in interface Parsersource - the content to parse
Blocks
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.Parser.parse(java.io.Reader)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||