|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.rendering.wikimodel.confluence.javacc.ConfluenceWikiScanner
public class ConfluenceWikiScanner
This is the internal wiki page parser generated from the grammar file.
This code was originally authored by Mikhail Kotelnikov (Cognium Systems SA) and other contributors (including XWiki committers), under the ASL 2.0 license (http://www.apache.org/licenses/LICENSE-2.0).
| Field Summary | |
|---|---|
Token |
jj_nt
Next token. |
Token |
token
Current token. |
ConfluenceWikiScannerTokenManager |
token_source
Generated Token Manager. |
| Constructor Summary | |
|---|---|
ConfluenceWikiScanner(ConfluenceWikiScannerTokenManager tm)
Constructor with generated Token Manager. |
|
ConfluenceWikiScanner(InputStream stream)
Constructor with InputStream. |
|
ConfluenceWikiScanner(InputStream stream,
String encoding)
Constructor with InputStream and supplied encoding |
|
ConfluenceWikiScanner(Reader stream)
Constructor. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public ConfluenceWikiScannerTokenManager token_source
public Token token
public Token jj_nt
| Constructor Detail |
|---|
public ConfluenceWikiScanner(InputStream stream)
public ConfluenceWikiScanner(InputStream stream,
String encoding)
public ConfluenceWikiScanner(Reader stream)
public ConfluenceWikiScanner(ConfluenceWikiScannerTokenManager tm)
| Method Detail |
|---|
public void parse(ConfluenceWikiScannerContext context)
throws ParseException
ParseExceptionpublic void setNoformatAsMacro(boolean noformatAsMacro)
public final Token getINTERNAL_MACRO()
throws ParseException
ParseException
public final Token getINTERNAL_MACRO_CONTENT()
throws ParseException
ParseException
public final Token getTABLE_ROW()
throws ParseException
ParseException
public final Token getTABLE_CELL()
throws ParseException
ParseException
public final Token getLIST_ITEM()
throws ParseException
ParseException
public final Token getHEADER()
throws ParseException
ParseException
public final Token getVERBATIM_BLOCK()
throws ParseException
ParseException
public final Token getHORLINE()
throws ParseException
ParseException
public final Token getVERBATIM_INLINE()
throws ParseException
ParseException
public final Token getREFERENCE()
throws ParseException
ParseException
public final Token getQUOT_BLOCK()
throws ParseException
ParseException
public final Token getQUOT_BLOCK_MACRO()
throws ParseException
ParseException
public final Token getBR()
throws ParseException
ParseException
public final Token getMACRO_BLOCK_START()
throws ParseException
ParseException
public final Token getMACRO_EMPTY_BLOCK()
throws ParseException
ParseException
public final Token getMACRO_INLINE_START()
throws ParseException
ParseException
public final Token getMACRO_EMPTY_INLINE()
throws ParseException
ParseException
public final Token getESCAPED()
throws ParseException
ParseException
public final Token getFORMAT_SYMBOL()
throws ParseException
ParseException
public final Token getSPECIAL_SYMBOLS()
throws ParseException
ParseException
public final Token getURI()
throws ParseException
ParseException
public final Token getNL()
throws ParseException
ParseException
public final Token getSPACE()
throws ParseException
ParseException
public final Token getWORD()
throws ParseException
ParseException
public final Token getSPECIAL_SYMBOL()
throws ParseException
ParseException
public final void doParse()
throws ParseException
ParseException
public final void docElements()
throws ParseException
ParseException
public final void header()
throws ParseException
ParseException
public final void table()
throws ParseException
ParseException
public final void tableRow()
throws ParseException
ParseException
public final void list()
throws ParseException
ParseException
public final void listItem()
throws ParseException
ParseException
public final void block()
throws ParseException
ParseException
public final void multilineBlock()
throws ParseException
ParseException
public final void verbatimBlock()
throws ParseException
ParseException
public final void macroBlock()
throws ParseException
ParseException
public final void emptyMacro(Token t,
boolean block)
throws ParseException
ParseException
public final void macro(Token t,
boolean block)
throws ParseException
ParseException
public final void horline()
throws ParseException
ParseException
public final void paragraph()
throws ParseException
ParseException
public final void quot()
throws ParseException
ParseException
public final void quotMacro()
throws ParseException
ParseException
public final void quotLines()
throws ParseException
ParseException
public final void emptyParagraph()
throws ParseException
ParseException
public final void lines()
throws ParseException
ParseException
public final void newLine()
throws ParseException
ParseException
public final void line()
throws ParseException
ParseExceptionpublic void ReInit(InputStream stream)
public void ReInit(InputStream stream,
String encoding)
public void ReInit(Reader stream)
public void ReInit(ConfluenceWikiScannerTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||