public class WikiParser extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
HEADING_ID_PREFIX |
protected int |
HEADING_LEVEL_SHIFT |
protected StringBuilder |
sb |
protected StringBuilder |
toc |
protected int |
tocLevel |
Modifier | Constructor and Description |
---|---|
protected |
WikiParser() |
protected |
WikiParser(String wikiText) |
Modifier and Type | Method and Description |
---|---|
protected void |
appendImage(String text) |
protected void |
appendLink(String text) |
protected void |
appendMacro(String text) |
protected void |
appendNowiki(String text) |
protected void |
appendText(String text) |
protected void |
appendTOCItem(int level,
String anchorId,
String text) |
protected void |
completeTOC() |
protected String |
generateTOCAnchorId(int hLevel,
String text) |
protected void |
parse(String wikiText) |
static String |
renderXHTML(String wikiText) |
protected void |
setTableClass(String strClass) |
protected void |
setTocClass(String strClass) |
String |
toString() |
protected StringBuilder sb
protected StringBuilder toc
protected int tocLevel
protected int HEADING_LEVEL_SHIFT
protected String HEADING_ID_PREFIX
protected WikiParser()
protected WikiParser(String wikiText)
protected void setTableClass(String strClass)
protected void setTocClass(String strClass)
protected void parse(String wikiText)
protected void appendMacro(String text)
protected void appendLink(String text)
protected void appendImage(String text)
protected void appendText(String text)
protected void completeTOC()
protected void appendNowiki(String text)
Copyright © 2019 City of Paris. All rights reserved.