|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wikimodel.wem.xwiki.javacc.XWikiScanner
public class XWikiScanner
This is the internal wiki page parser generated from the grammar file.
| Field Summary | |
|---|---|
Token |
jj_nt
Next token. |
Token |
token
Current token. |
XWikiScannerTokenManager |
token_source
Generated Token Manager. |
| Constructor Summary | |
|---|---|
XWikiScanner(java.io.InputStream stream)
Constructor with InputStream. |
|
XWikiScanner(java.io.InputStream stream,
java.lang.String encoding)
Constructor with InputStream and supplied encoding |
|
XWikiScanner(java.io.Reader stream)
Constructor. |
|
XWikiScanner(XWikiScannerTokenManager tm)
Constructor with generated Token Manager. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public XWikiScannerTokenManager token_source
public Token token
public Token jj_nt
| Constructor Detail |
|---|
public XWikiScanner(java.io.InputStream stream)
public XWikiScanner(java.io.InputStream stream,
java.lang.String encoding)
public XWikiScanner(java.io.Reader stream)
public XWikiScanner(XWikiScannerTokenManager tm)
| Method Detail |
|---|
public void parse(IWikiScannerContext context)
throws ParseException
ParseExceptionprotected WikiParameters newWikiParameters(java.lang.String str)
public final Token getINTERNAL_VERBATIM_START()
throws ParseException
ParseException
public final Token getINTERNAL_VERBATIM_END()
throws ParseException
ParseException
public final Token getINTERNAL_VERBATIM_CONTENT()
throws ParseException
ParseException
public final Token getINTERNAL_MACRO_START()
throws ParseException
ParseException
public final Token getINTERNAL_MACRO_END()
throws ParseException
ParseException
public final Token getINTERNAL_MACRO_CONTENT()
throws ParseException
ParseException
public final Token getDOC_BEGIN()
throws ParseException
ParseException
public final Token getDOC_END()
throws ParseException
ParseException
public final Token getLIST_ITEM()
throws ParseException
ParseException
public final Token getHEADER_BEGIN()
throws ParseException
ParseException
public final Token getHEADER_END()
throws ParseException
ParseException
public final Token getHORLINE()
throws ParseException
ParseException
public final Token getTABLE_ROW()
throws ParseException
ParseException
public final Token getTABLE_CELL()
throws ParseException
ParseException
public final Token getREFERENCE()
throws ParseException
ParseException
public final Token getVERBATIM_START()
throws ParseException
ParseException
public final Token getMACRO_EMPTY()
throws ParseException
ParseException
public final Token getMACRO_START()
throws ParseException
ParseException
public final Token getFORMAT_SYMBOL()
throws ParseException
ParseException
public final Token getBR()
throws ParseException
ParseException
public final Token getBLOCK_PARAMS()
throws ParseException
ParseException
public final Token getINLINE_PARAMS()
throws ParseException
ParseException
public final Token getQUOT_LINE()
throws ParseException
ParseException
public final Token getXWIKI_URI()
throws ParseException
ParseException
public final Token getXWIKI_SPACE()
throws ParseException
ParseException
public final Token getNL()
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 embeddedDocument()
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 verbatimBlock()
throws ParseException
ParseException
public final void verbatimBody(boolean inline,
WikiParameters params)
throws ParseException
ParseException
public final void followVerbatimBlock()
throws ParseException
ParseException
public final void macroBlock()
throws ParseException
ParseException
public final void emptyMacro(Token t,
boolean inline)
throws ParseException
ParseException
public final void macro(Token t,
boolean inline)
throws ParseException
ParseException
public final void macroBody(java.lang.String name,
java.lang.String paramStr,
boolean inline,
java.lang.String content)
throws ParseException
ParseException
public final void followMacroBlock()
throws ParseException
ParseException
public final void sendOnEmptyLinesEvent(boolean shouldIncrement)
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 quotLine()
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
ParseException
public final void followHeaderEnd()
throws ParseException
ParseExceptionpublic void ReInit(java.io.InputStream stream)
public void ReInit(java.io.InputStream stream,
java.lang.String encoding)
public void ReInit(java.io.Reader stream)
public void ReInit(XWikiScannerTokenManager 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 | |||||||||