| Package | Description |
|---|---|
| info.bliki.extensions.scribunto.engine | |
| info.bliki.extensions.scribunto.engine.lua | |
| info.bliki.extensions.scribunto.engine.lua.interfaces | |
| info.bliki.extensions.scribunto.template | |
| info.bliki.htmlcleaner |
Modified classes from the
htmlcleaner.sourceforge.net/ project.
|
| info.bliki.wiki.filter |
Contains different type of wikipedia scanners and parsers.
|
| info.bliki.wiki.model |
Model classes for rendering Wikipedia texts to HTML, PDF with the
IWikiModel interface. |
| info.bliki.wiki.tags |
Contains the HTML tag classes which are created by the wikipedia parser and model.
|
| info.bliki.wiki.tags.extension | |
| info.bliki.wiki.template |
Template parser functions like
{{ #if: ... |
| info.bliki.wiki.template.extension |
This pacage contains template parser functions which are not included in the Mediawiki standard.
|
| Modifier and Type | Field and Description |
|---|---|
protected IWikiModel |
ScribuntoEngineBase.model |
| Constructor and Description |
|---|
ScribuntoEngineBase(IWikiModel model) |
| Constructor and Description |
|---|
ScribuntoLuaEngine(IWikiModel model,
CompiledScriptCache cache) |
ScribuntoLuaEngine(IWikiModel model,
CompiledScriptCache cache,
boolean debug) |
| Constructor and Description |
|---|
MwLanguage(IWikiModel wikiModel) |
MwSite(IWikiModel wikiModel) |
MwTitle(IWikiModel wikiModel) |
| Modifier and Type | Method and Description |
|---|---|
String |
Invoke.parseFunction(List<String> parts,
IWikiModel model,
char[] src,
int beginIndex,
int endIndex,
boolean isSubst) |
| Modifier and Type | Method and Description |
|---|---|
void |
ContentToken.renderPlainText(ITextConverter converter,
Appendable buf,
IWikiModel wikiModel) |
void |
TagNode.renderPlainText(ITextConverter converter,
Appendable buf,
IWikiModel wikiModel) |
| Modifier and Type | Field and Description |
|---|---|
protected IWikiModel |
WikipediaScanner.fWikiModel |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,String> |
TemplateParser.createParameterMap(Object[] objs,
IWikiModel model) |
static void |
TemplateParser.createSingleParameter(String srcString,
IWikiModel wikiModel,
Map<String,String> namedParameterMap,
List<String> unnamedParams)
Create a single parameter, defined in a template call, and add it to the
named parameters map or unnamed parameter list
|
void |
WPListElement.createTagStack(char[] src,
IWikiModel wikiModel,
int endPos)
Create the internal TagNodes stack for a single list line
|
void |
WPCell.createTagStack(WPTable parent,
char[] src,
IWikiModel wikiModel,
int endPos)
Create the internal TagNodes stack for a single table cell
|
static TemplateTag |
TemplateParser.createTemplateTag(char[] src,
int startOffset,
int len,
IWikiModel model)
Create a
TemplateTag from the passed template call. |
protected static String |
MagicWord.getBasePageName(String parameter,
IWikiModel model)
Gets the base page name of a given non-null parameter or the
current model's pagename and namespace.
|
protected static String |
MagicWord.getFullpagename(String parameter,
IWikiModel model)
Gets the full page's name of a given non-null parameter or the
current model's pagename and namespace.
|
protected static String |
MagicWord.getNamespace(String parameter,
IWikiModel model)
Helper to get the namespace of either a given non-null parameter
or the current model's namespace.
|
protected static INamespace.INamespaceValue |
MagicWord.getNamespaceHelper(String parameter,
IWikiModel model)
Helper to get the namespace of either a given non-null parameter
or the current model's namespace.
|
protected static String |
MagicWord.getPagenameHelper(String parameter,
IWikiModel model)
Helper to get the pagename (excluding the namespace) of either a given
non-null parameter or the current model's pagename.
|
protected static String[] |
MagicWord.getPagenameHelper2(String parameter,
IWikiModel model)
Helper to get the pagename and the namespace of either a given non-
null parameter or the current model's pagename and namespace.
|
static String |
AbstractWikipediaParser.getRedirectedRawContent(IWikiModel wikiModel,
ParsedPageName parsedPagename,
Map<String,String> templateParameters) |
protected static String |
AbstractWikipediaParser.getRedirectedTemplateContent(IWikiModel wikiModel,
String redirectedLink,
Map<String,String> templateParameters) |
protected static String |
MagicWord.getSubjectpage(String parameter,
IWikiModel model)
Gets the talkpage's name of a given non-null parameter or the
current model's pagename and namespace.
|
protected static String |
MagicWord.getSubjectSpace(String parameter,
IWikiModel model)
Gets the subject/articlespace of a given non-null parameter
or the current model's namespace.
|
protected static String |
MagicWord.getSubPageName(String parameter,
IWikiModel model)
Gets the sub page name of a given non-null parameter or the
current model's pagename and namespace.
|
protected static String |
MagicWord.getTalkpage(String parameter,
IWikiModel model)
Gets the talkpage's name of a given non-null parameter or the
current model's pagename and namespace.
|
protected static String |
MagicWord.getTalkspace(String parameter,
IWikiModel model)
Gets the talkspace of a given non-null parameter
or the current model's namespace.
|
void |
ITextConverter.imageNodeToText(TagNode imageTagNode,
ImageFormat imageFormat,
Appendable resultBuffer,
IWikiModel model)
Convert the imageTagNode into a given HTML string buffer
|
void |
HTMLConverter.imageNodeToText(TagNode imageTagNode,
ImageFormat imageFormat,
Appendable resultBuffer,
IWikiModel model) |
void |
PlainTextConverter.imageNodeToText(TagNode imageTagNode,
ImageFormat imageFormat,
Appendable resultBuffer,
IWikiModel model) |
void |
ITextConverter.nodesToText(List<?> nodes,
Appendable resultBuffer,
IWikiModel model)
Convert the list of TagTokens into a given HTML string buffer
|
void |
PlainTextConverter.nodesToText(List<?> nodes,
Appendable resultBuffer,
IWikiModel model) |
void |
HTMLConverter.nodesToText(List<? extends Object> nodes,
Appendable resultBuffer,
IWikiModel model) |
protected void |
HTMLConverter.nodeToHTML(TagNode node,
Appendable resultBuffer,
IWikiModel model) |
static void |
TemplateParser.parse(String rawWikitext,
IWikiModel wikiModel,
Appendable writer,
boolean renderTemplate) |
static void |
TemplateParser.parse(String rawWikitext,
IWikiModel wikiModel,
Appendable writer,
boolean parseOnlySignature,
boolean renderTemplate)
Parse the wiki texts templates, comments and signatures into the given
StringBuilder. |
static void |
WikipediaParser.parse(String rawWikiText,
IWikiModel wikiModel,
boolean parseTemplates,
Appendable templateParserBuffer)
Call the parser on the first recursion level, where the text can contain
a table of contents (TOC).
|
static ParsedPageName |
ParsedPageName.parsePageName(IWikiModel wikiModel,
String pagename,
INamespace.INamespaceValue namespace,
boolean magicWordAllowed,
boolean stripOffSection)
Parses a given page name into its components, e.g.
|
static boolean |
TemplateParser.parsePreprocessRecursive(int startIndex,
String rawWikitext,
IWikiModel wikiModel,
StringBuilder writer,
boolean renderTemplate,
boolean onlyIncludeFlag,
Map<String,String> templateParameterMap)
Preprocess parsing of the
<includeonly>,
<onlyinclude> and <noinclude> tags. |
static void |
WikipediaPreTagParser.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. |
protected static void |
TemplateParser.parseRecursive(String rawWikitext,
IWikiModel wikiModel,
Appendable writer,
boolean parseOnlySignature,
boolean renderTemplate) |
static void |
TemplateParser.parseRecursive(String rawWikitext,
IWikiModel wikiModel,
Appendable writer,
boolean parseOnlySignature,
boolean renderTemplate,
Map<String,String> templateParameterMap) |
static TagStack |
WikipediaParser.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. |
static TagStack |
WikipediaPreTagParser.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. |
protected TagStack |
AbstractWikipediaParser.parseRecursiveInternal(IWikiModel wikiModel,
boolean createOnlyLocalStack,
boolean noTOC) |
TagStack |
WikipediaPreTagParser.parseRecursiveInternal(IWikiModel wikiModel,
boolean createOnlyLocalStack,
boolean noTOC) |
static String |
WikipediaParser.parseRedirect(String rawWikiText,
IWikiModel wikiModel)
Check the text for a
#REDIRECT [[...]] or
#redirect [[...]] link |
static String |
MagicWord.processMagicWord(MagicWord.MagicWordE magicWord,
String parameter,
IWikiModel model)
Process a magic word, returning the value corresponding to the magic word
value.
|
void |
WPList.renderHTML(ITextConverter converter,
Appendable buf,
IWikiModel wikiModel) |
void |
WPTable.renderHTML(ITextConverter converter,
Appendable buf,
IWikiModel wikiModel) |
void |
WPCell.renderHTML(ITextConverter converter,
Appendable buf,
IWikiModel wikiModel) |
void |
WPRow.renderHTML(ITextConverter converter,
Appendable buf,
IWikiModel wikiModel) |
void |
PlainTextConvertable.renderPlainText(ITextConverter converter,
Appendable buf,
IWikiModel wikiModel) |
void |
WPList.renderPlainText(ITextConverter converter,
Appendable buf,
IWikiModel wikiModel) |
void |
WPTable.renderPlainText(ITextConverter converter,
Appendable buf,
IWikiModel wikiModel) |
void |
WPCell.renderPlainText(ITextConverter converter,
Appendable buf,
IWikiModel wikiModel) |
void |
WPRow.renderPlainText(ITextConverter converter,
Appendable buf,
IWikiModel wikiModel) |
void |
WikipediaScanner.setModel(IWikiModel wikiModel) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractWikiModel
Standard model implementation for the Wikipedia syntax.
|
class |
WikiModel
Standard model implementation.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
WikiModel.toText(IWikiModel model,
ITextConverter converter,
String rawWikiText,
Appendable resultBuffer,
boolean templateTopic,
boolean parseTemplates)
Convert a given text in wiki notation into another format.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TemplateTag.renderHTML(ITextConverter converter,
Appendable writer,
IWikiModel model) |
void |
HTMLTag.renderHTML(ITextConverter converter,
Appendable buf,
IWikiModel model) |
void |
MathTag.renderHTML(ITextConverter converter,
Appendable writer,
IWikiModel model) |
void |
SourceTag.renderHTML(ITextConverter converter,
Appendable writer,
IWikiModel model) |
void |
WPPreTag.renderHTML(ITextConverter converter,
Appendable buf,
IWikiModel model) |
void |
NowikiTag.renderHTML(ITextConverter converter,
Appendable buf,
IWikiModel model) |
void |
WPBoldItalicTag.renderHTML(ITextConverter converter,
Appendable buf,
IWikiModel model) |
void |
IgnoreTag.renderHTML(ITextConverter converter,
Appendable buf,
IWikiModel model) |
void |
WPATag.renderHTML(ITextConverter converter,
Appendable buf,
IWikiModel model) |
void |
PreTag.renderHTML(ITextConverter converter,
Appendable writer,
IWikiModel model) |
void |
WPTag.renderHTML(ITextConverter converter,
Appendable buf,
IWikiModel model) |
void |
RefTag.renderHTML(ITextConverter converter,
Appendable writer,
IWikiModel model) |
void |
ReferencesTag.renderHTML(ITextConverter converter,
Appendable writer,
IWikiModel model) |
void |
ATag.renderHTML(ITextConverter converter,
Appendable buf,
IWikiModel model) |
void |
PTag.renderHTML(ITextConverter converter,
Appendable buf,
IWikiModel model) |
void |
TableOfContentTag.renderHTML(ITextConverter converter,
Appendable writer,
IWikiModel model) |
void |
HTMLTag.renderHTMLWithoutTag(ITextConverter converter,
Appendable buf,
IWikiModel model) |
void |
HTMLBlockTag.renderPlainText(ITextConverter converter,
Appendable buf,
IWikiModel wikiModel) |
void |
RefTag.renderPlainText(ITextConverter converter,
Appendable buf,
IWikiModel wikiModel) |
| Modifier and Type | Method and Description |
|---|---|
void |
ChartTag.renderHTML(ITextConverter converter,
Appendable buf,
IWikiModel model) |
| Modifier and Type | Method and Description |
|---|---|
static String |
Expr.getWikiNumberFormat(double d,
IWikiModel model) |
static String |
AbstractTemplateFunction.parse(String content,
IWikiModel model)
Parse the given content string with the template parser.
|
String |
Plural.parseFunction(List<String> list,
IWikiModel model,
char[] src,
int beginIndex,
int endIndex,
boolean isSubst) |
String |
URLEncode.parseFunction(List<String> list,
IWikiModel model,
char[] src,
int beginIndex,
int endIndex,
boolean isSubst) |
String |
Formatnum.parseFunction(List<String> list,
IWikiModel model,
char[] src,
int beginIndex,
int endIndex,
boolean isSubst) |
String |
Tag.parseFunction(List<String> list,
IWikiModel model,
char[] src,
int beginIndex,
int endIndex,
boolean isSubst) |
String |
Subst.parseFunction(List<String> parts1,
IWikiModel model,
char[] src,
int beginIndex,
int endIndex,
boolean isSubst) |
String |
Titleparts.parseFunction(List<String> list,
IWikiModel model,
char[] src,
int beginIndex,
int endIndex,
boolean isSubst) |
String |
Switch.parseFunction(List<String> list,
IWikiModel model,
char[] src,
int beginIndex,
int endIndex,
boolean isSubst) |
String |
Anchorencode.parseFunction(List<String> list,
IWikiModel model,
char[] src,
int beginIndex,
int endIndex,
boolean isSubst) |
String |
LC.parseFunction(List<String> list,
IWikiModel model,
char[] src,
int beginIndex,
int endIndex,
boolean isSubst) |
String |
Ifexpr.parseFunction(List<String> list,
IWikiModel model,
char[] src,
int beginIndex,
int endIndex,
boolean isSubst) |
String |
Safesubst.parseFunction(List<String> parts1,
IWikiModel model,
char[] src,
int beginIndex,
int endIndex,
boolean isSubst) |
String |
FormatDate.parseFunction(List<String> parts,
IWikiModel model,
char[] src,
int beginIndex,
int endIndex,
boolean isSubst) |
String |
Ifexist.parseFunction(List<String> list,
IWikiModel model,
char[] src,
int beginIndex,
int endIndex,
boolean isSubst) |
String |
Padleft.parseFunction(List<String> list,
IWikiModel model,
char[] src,
int beginIndex,
int endIndex,
boolean isSubst) |
String |
NS.parseFunction(List<String> list,
IWikiModel model,
char[] src,
int beginIndex,
int endIndex,
boolean isSubst) |
String |
Expr.parseFunction(List<String> list,
IWikiModel model,
char[] src,
int beginIndex,
int endIndex,
boolean isSubst) |
String |
If.parseFunction(List<String> list,
IWikiModel model,
char[] src,
int beginIndex,
int endIndex,
boolean isSubst) |
String |
LCFirst.parseFunction(List<String> list,
IWikiModel model,
char[] src,
int beginIndex,
int endIndex,
boolean isSubst) |
String |
UCFirst.parseFunction(List<String> list,
IWikiModel model,
char[] src,
int beginIndex,
int endIndex,
boolean isSubst) |
String |
Ifeq.parseFunction(List<String> list,
IWikiModel model,
char[] src,
int beginIndex,
int endIndex,
boolean isSubst) |
String |
Localurl.parseFunction(List<String> list,
IWikiModel model,
char[] src,
int beginIndex,
int endIndex,
boolean isSubst) |
String |
ITemplateFunction.parseFunction(List<String> parts,
IWikiModel model,
char[] src,
int beginIndex,
int endIndex,
boolean isSubst)
Parse a template function (like for example
{{ #if: ... |
String |
Fullurl.parseFunction(List<String> list,
IWikiModel model,
char[] src,
int beginIndex,
int endIndex,
boolean isSubst) |
String |
Padright.parseFunction(List<String> list,
IWikiModel model,
char[] src,
int beginIndex,
int endIndex,
boolean isSubst) |
String |
NSE.parseFunction(List<String> list,
IWikiModel model,
char[] src,
int beginIndex,
int endIndex,
boolean isSubst) |
String |
UC.parseFunction(List<String> list,
IWikiModel model,
char[] src,
int beginIndex,
int endIndex,
boolean isSubst) |
abstract String |
AbstractTemplateFunction.parseFunction(List<String> parts,
IWikiModel model,
char[] src,
int beginIndex,
int endIndex,
boolean isSubst)
Parse a template function (like for example
{{ #if: ... |
String |
Time.parseFunction(List<String> list,
IWikiModel model,
char[] src,
int beginIndex,
int endIndex,
boolean isSubst) |
String |
Iferror.parseFunction(List<String> list,
IWikiModel model,
char[] src,
int beginIndex,
int endIndex,
boolean isSubst) |
static String |
Safesubst.parsePreprocess(String content,
IWikiModel model,
Map<String,String> templateParameterMap)
Parse the preprocess step for the given content string with the template
parser and
Utils#trimNewlineLeft() the resulting string. |
static String |
AbstractTemplateFunction.parseTrim(String content,
IWikiModel model)
Parse the given content string with the template parser and
trim() the resulting string. |
| Modifier and Type | Method and Description |
|---|---|
String |
Allmacros.parseFunction(List<String> parts,
IWikiModel model,
char[] src,
int beginIndex,
int endIndex,
boolean isSubst) |
String |
DollarContext.parseFunction(List<String> list,
IWikiModel model,
char[] src,
int beginIndex,
int endIndex,
boolean isSubst) |
Copyright © 2017 Java Wikipedia API (Bliki engine). All rights reserved.