|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IConfiguration
Configuration interface for extensions similar to the Mediawiki HTML styled tag extension, template parser functions and interwiki links
Configuration| Method Summary | |
|---|---|
SourceCodeFormatter |
addCodeFormatter(java.lang.String key,
SourceCodeFormatter value)
Add a new source code formatter to the configuration |
java.lang.String |
addInterwikiLink(java.lang.String key,
java.lang.String value)
Add a new interwiki link to the configuration |
ITemplateFunction |
addTemplateFunction(java.lang.String key,
ITemplateFunction value)
Add a new interwiki link to the configuration |
TagToken |
addTokenTag(java.lang.String key,
TagToken value)
Add a new HTML styled tag to the configuration |
java.util.Map<java.lang.String,SourceCodeFormatter> |
getCodeFormatterMap()
Get the source code formatter map of built-in source code formatters |
java.util.Map<java.lang.String,java.lang.String> |
getInterwikiMap()
Get the interwiki links map for converting interwiki links into external URLs. |
java.util.Map<java.lang.String,ITemplateFunction> |
getTemplateMap()
Get the template parser functions map of built-in template functions |
java.util.Map<java.lang.String,TagToken> |
getTokenMap()
Get the HTML styled tag map for built-in tags |
| Method Detail |
|---|
java.util.Map<java.lang.String,java.lang.String> getInterwikiMap()
java.util.Map<java.lang.String,ITemplateFunction> getTemplateMap()
java.util.Map<java.lang.String,TagToken> getTokenMap()
java.lang.String addInterwikiLink(java.lang.String key,
java.lang.String value)
key - the prefix used in the interwiki link (i.e. [[prefix:...]] )value - the external link which should be generated from the interwiki
link
ITemplateFunction addTemplateFunction(java.lang.String key,
ITemplateFunction value)
key - value -
TagToken addTokenTag(java.lang.String key,
TagToken value)
key - value -
java.util.Map<java.lang.String,SourceCodeFormatter> getCodeFormatterMap()
SourceCodeFormatter addCodeFormatter(java.lang.String key,
SourceCodeFormatter value)
key - value -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||