public interface IConfiguration
Configuration| Modifier and Type | Interface and Description |
|---|---|
static class |
IConfiguration.Casing |
| Modifier and Type | Method and Description |
|---|---|
SourceCodeFormatter |
addCodeFormatter(String key,
SourceCodeFormatter value)
Add a new
source code formatter
to the configuration
|
String |
addInterwikiLink(String key,
String value)
Add another Interwiki link to the configuration.
|
ITemplateFunction |
addTemplateFunction(String key,
ITemplateFunction value)
Add a new interwiki
link to the configuration
|
TagToken |
addTokenTag(String key,
TagToken value)
Add a new
HTML styled tag to the configuration
|
IConfiguration.Casing |
casing() |
Map<String,SourceCodeFormatter> |
getCodeFormatterMap()
Get the source code formatter map of built-in source code formatters
|
Map<String,String> |
getTemplateCallsCache()
Get the currently configured cache implementation for template calls.
|
Map<String,ITemplateFunction> |
getTemplateMap()
Get the template
parser functions map of built-in template functions
|
Map<String,TagToken> |
getTokenMap()
Get the HTML
styled tag map for built-in tags
|
Set<String> |
getUriSchemeSet()
Get the set of all allowed URI scheme shortcuts like http, https, ftp,...
|
void |
setTemplateCallsCache(Map<String,String> map)
Set a cache map implementation.
|
SourceCodeFormatter addCodeFormatter(String key, SourceCodeFormatter value)
String addInterwikiLink(String key, String value)
$1 placeholder for the used wiki article
link.key - the prefix used in the interwiki link (i.e. [[prefix:...]] )value - the external link which should be generated from the interwiki
linkITemplateFunction addTemplateFunction(String key, ITemplateFunction value)
TagToken addTokenTag(String key, TagToken value)
Map<String,SourceCodeFormatter> getCodeFormatterMap()
Map<String,String> getTemplateCallsCache()
null if no cache implementation is set.setTemplateCallsCache(Map)Map<String,ITemplateFunction> getTemplateMap()
Map<String,TagToken> getTokenMap()
Set<String> getUriSchemeSet()
void setTemplateCallsCache(Map<String,String> map)
map - the cache implementationIConfiguration.Casing casing()
IConfiguration.Casing.FirstLetter.Copyright © 2017 Java Wikipedia API (Bliki engine). All rights reserved.