public class WikipediaPreTagParser extends AbstractWikipediaParser
BOLD, BOLDITALIC, ITALIC, TokenBOLD, TokenBOLDITALIC, TokenEOF, TokenIgnore, TokenITALIC, TokenSTARTfCurrentCharacter, fCurrentPosition, fWhiteStart, fWhiteStartPositionEOF, fScannerPosition, fSource, fStringSource, fWikiModel| Constructor and Description |
|---|
WikipediaPreTagParser(String stringSource) |
WikipediaPreTagParser(String stringSource,
IEventListener wikiListener) |
| Modifier and Type | Method and Description |
|---|---|
int |
getNextToken() |
static void |
parseRecursive(String rawWikitext,
IWikiModel wikiModel)
Call the parser on the subsequent recursion levels, where the subtexts (of
templates, table cells, list items or image captions) don't contain a table
of contents (TOC)
Note: the wiki model doesn't call the
setUp() or
tearDown() methods for the subsequent recursive parser steps. |
static TagStack |
parseRecursive(String rawWikitext,
IWikiModel wikiModel,
boolean createOnlyLocalStack,
boolean noTOC)
Call the parser on the subsequent recursion levels, where the subtexts (of
templates, table cells, list items or image captions) don't contain a table
of contents (TOC)
Note: the wiki model doesn't call the
setUp() or
tearDown() methods for the subsequent recursive parser steps. |
TagStack |
parseRecursiveInternal(IWikiModel wikiModel,
boolean createOnlyLocalStack,
boolean noTOC) |
void |
runParser() |
protected void |
setNoToC(boolean noToC) |
createContentToken, getRedirectedRawContent, getRedirectedTemplateContent, parseHTMLCommentTags, reduceStackUntilToken, reduceTokenStack, reduceTokenStackBoldItalicconsumeWhitespace, findWikiLinkEnd, getNextChar, getNextCharAsWhitespace, isEmptyLine, readUntil, readUntilCharOrStopAtEOL, readUntilIgnoreCase, readUntilNestedIgnoreCase, readWhitespaceUntilEndOfLine, readWhitespaceUntilStartOfLinefindNestedEnd, findNestedEndSingle, findNestedParamEnd, findNestedTemplateEnd, getPosition, indexEndOfComment, indexEndOfNowiki, indexEndOfTable, indexOfUntilNoLetter, makeTag, nextNewline, nextNewlineCell, parseAttributes, parseTag, readSpecialWikiTags, readUntilIgnoreCase, setModel, setPosition, splitByChar, splitByChar, splitByPipe, splitByPipe, startsWith, wpList, wpTablepublic WikipediaPreTagParser(String stringSource)
public WikipediaPreTagParser(String stringSource, IEventListener wikiListener)
public int getNextToken()
public void runParser()
runParser in class AbstractWikipediaParserprotected void setNoToC(boolean noToC)
setNoToC in class AbstractWikipediaParserpublic static void parseRecursive(String rawWikitext, IWikiModel wikiModel)
setUp() or
tearDown() methods for the subsequent recursive parser steps.rawWikitext - wikiModel - public static TagStack parseRecursive(String rawWikitext, IWikiModel wikiModel, boolean createOnlyLocalStack, boolean noTOC)
setUp() or
tearDown() methods for the subsequent recursive parser steps.rawWikitext - wikiModel - noTOC - appendStack - public TagStack parseRecursiveInternal(IWikiModel wikiModel, boolean createOnlyLocalStack, boolean noTOC)
parseRecursiveInternal in class AbstractWikipediaParserCopyright © 2017 Java Wikipedia API (Bliki engine). All rights reserved.