public class XWikiStreamRenderer extends XWikiRenderingSystem
If you use some macros or transformations, it needs to create a XDOM that represents the whole document structure in a memory.
componentManager, configurationProvider| Constructor and Description |
|---|
XWikiStreamRenderer(XWikiComponentManager componentManager,
XWikiConfigurationProvider configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
render(Reader source,
groovy.lang.Closure callback)
XWiki XHTML rendering using the default syntax
|
void |
render(Reader source,
Iterable<org.xwiki.rendering.transformation.Transformation> transformations,
groovy.lang.Closure callback)
XWiki XHTML rendering using the default syntax
|
void |
render(Reader source,
Iterable<org.xwiki.rendering.transformation.Transformation> preTransformations,
Iterable<org.xwiki.rendering.transformation.Transformation> postTransformations,
groovy.lang.Closure callback)
XWiki XHTML rendering using the default syntax
|
void |
render(Reader source,
org.xwiki.rendering.syntax.Syntax inputSyntax,
groovy.lang.Closure callback)
XWiki XHTML rendering
|
void |
render(Reader source,
org.xwiki.rendering.syntax.Syntax inputSyntax,
Iterable<org.xwiki.rendering.transformation.Transformation> transformations,
groovy.lang.Closure callback)
XWiki XHTML rendering
|
void |
render(Reader source,
org.xwiki.rendering.syntax.Syntax inputSyntax,
Iterable<org.xwiki.rendering.transformation.Transformation> preTransformations,
Iterable<org.xwiki.rendering.transformation.Transformation> postTransformations,
groovy.lang.Closure callback)
XWiki XHTML rendering
|
void |
render(Reader source,
org.xwiki.rendering.syntax.Syntax inputSyntax,
org.xwiki.rendering.syntax.Syntax outputSyntax,
groovy.lang.Closure callback)
XWiki rendering
|
void |
render(Reader source,
org.xwiki.rendering.syntax.Syntax inputSyntax,
org.xwiki.rendering.syntax.Syntax outputSyntax,
Iterable<org.xwiki.rendering.transformation.Transformation> transformations,
groovy.lang.Closure callback)
XWiki rendering
|
void |
render(Reader source,
org.xwiki.rendering.syntax.Syntax inputSyntax,
org.xwiki.rendering.syntax.Syntax outputSyntax,
Iterable<org.xwiki.rendering.transformation.Transformation> preTransformations,
Iterable<org.xwiki.rendering.transformation.Transformation> postTransformations,
groovy.lang.Closure callback)
XWiki rendering
|
applyRenderer, buildXDOM, createRenderer, getTransformationForMacro, transformpublic XWikiStreamRenderer(XWikiComponentManager componentManager, XWikiConfigurationProvider configuration)
public void render(Reader source, org.xwiki.rendering.syntax.Syntax inputSyntax, org.xwiki.rendering.syntax.Syntax outputSyntax, Iterable<org.xwiki.rendering.transformation.Transformation> preTransformations, Iterable<org.xwiki.rendering.transformation.Transformation> postTransformations, groovy.lang.Closure callback)
source - source text readerinputSyntax - inputSyntaxoutputSyntax - outputSyntaxpreTransformations - transforms applied before macrospostTransformations - transforms applied after macroscallback - a callback function processed on parsing a textpublic void render(Reader source, org.xwiki.rendering.syntax.Syntax inputSyntax, org.xwiki.rendering.syntax.Syntax outputSyntax, groovy.lang.Closure callback)
source - source text readerinputSyntax - inputSyntaxoutputSyntax - outputSyntaxcallback - a callback function processed on parsing a textpublic void render(Reader source, org.xwiki.rendering.syntax.Syntax inputSyntax, groovy.lang.Closure callback)
source - source text readerinputSyntax - inputSyntaxcallback - a callback function processed on parsing a textpublic void render(Reader source, groovy.lang.Closure callback)
source - source text readercallback - a callback function processed on parsing a textpublic void render(Reader source, org.xwiki.rendering.syntax.Syntax inputSyntax, org.xwiki.rendering.syntax.Syntax outputSyntax, Iterable<org.xwiki.rendering.transformation.Transformation> transformations, groovy.lang.Closure callback)
source - source text readerinputSyntax - inputSyntaxoutputSyntax - outputSyntaxtransformations - transforms applied after macroscallback - a callback function processed on parsing a textpublic void render(Reader source, org.xwiki.rendering.syntax.Syntax inputSyntax, Iterable<org.xwiki.rendering.transformation.Transformation> transformations, groovy.lang.Closure callback)
source - source text readerinputSyntax - inputSyntaxtransformations - transforms applied after macroscallback - a callback function processed on parsing a textpublic void render(Reader source, org.xwiki.rendering.syntax.Syntax inputSyntax, Iterable<org.xwiki.rendering.transformation.Transformation> preTransformations, Iterable<org.xwiki.rendering.transformation.Transformation> postTransformations, groovy.lang.Closure callback)
source - source text readerinputSyntax - inputSyntaxpreTransformations - transforms applied before macrospostTransformations - transforms applied after macroscallback - a callback function processed on parsing a textpublic void render(Reader source, Iterable<org.xwiki.rendering.transformation.Transformation> transformations, groovy.lang.Closure callback)
source - source text readertransformations - transforms applied after macroscallback - a callback function processed on parsing a textpublic void render(Reader source, Iterable<org.xwiki.rendering.transformation.Transformation> preTransformations, Iterable<org.xwiki.rendering.transformation.Transformation> postTransformations, groovy.lang.Closure callback)
source - source text readerpreTransformations - transforms applied before macrospostTransformations - transforms applied after macroscallback - a callback function processed on parsing a text