public interface WtEngine
| Modifier and Type | Method and Description |
|---|---|
EngProcessedPage |
expand(PageId pageId,
String wikitext,
boolean forInclusion,
ExpansionCallback callback)
Takes wikitext and expands the wikitext.
|
EngProcessedPage |
expand(PageId pageId,
String wikitext,
ExpansionCallback callback)
Takes wikitext and expands the wikitext.
|
ExpansionDebugHooks |
getDebugHooks() |
WikiConfig |
getWikiConfig() |
boolean |
isCatchAll() |
boolean |
isNoRedirect() |
boolean |
isTimingEnabled() |
EngineNodeFactory |
nf() |
EngProcessedPage |
parse(PageId pageId,
String wikitext,
ExpansionCallback callback)
Takes wikitext and parses the wikitext for viewing.
|
EngProcessedPage |
postprocess(PageId pageId,
String wikitext,
ExpansionCallback callback)
Takes wikitext and parses the wikitext for viewing.
|
EngProcessedPage |
postprocessPpOrExpAst(PageId pageId,
WtPreproWikitextPage pprAst)
Takes an AST after preprocessing or after expansion and performs the
following steps:
Parsing
Entity substitution
Postprocessing
|
EngProcessedPage |
preprocess(PageId pageId,
String wikitext,
boolean forInclusion,
ExpansionCallback callback)
Takes wikitext and preprocesses the wikitext (without performing
expansion).
|
void |
setCatchAll(boolean catchAll) |
void |
setDebugHooks(ExpansionDebugHooks hooks) |
void |
setNoRedirect(boolean noRedirect) |
void |
setTimingEnabled(boolean timingEnabled) |
void setDebugHooks(ExpansionDebugHooks hooks)
void setNoRedirect(boolean noRedirect)
void setTimingEnabled(boolean timingEnabled)
void setCatchAll(boolean catchAll)
WikiConfig getWikiConfig()
ExpansionDebugHooks getDebugHooks()
boolean isNoRedirect()
boolean isTimingEnabled()
boolean isCatchAll()
EngineNodeFactory nf()
EngProcessedPage preprocess(PageId pageId, String wikitext, boolean forInclusion, ExpansionCallback callback) throws EngineException
EngineExceptionEngProcessedPage expand(PageId pageId, String wikitext, ExpansionCallback callback) throws EngineException
EngineExceptionEngProcessedPage expand(PageId pageId, String wikitext, boolean forInclusion, ExpansionCallback callback) throws EngineException
EngineExceptionEngProcessedPage parse(PageId pageId, String wikitext, ExpansionCallback callback) throws EngineException
EngineExceptionEngProcessedPage postprocess(PageId pageId, String wikitext, ExpansionCallback callback) throws EngineException
EngineExceptionEngProcessedPage postprocessPpOrExpAst(PageId pageId, WtPreproWikitextPage pprAst) throws EngineException
EngineExceptionCopyright © 2010–2018 University of Erlangen-Nürnberg - Open Source Research Group. All rights reserved.