public class XWikiRenderer extends XWikiRenderingSystem
It needs to create a XDOM that represents the whole document structure in a memory.
componentManager, configurationProvider| Constructor and Description |
|---|
XWikiRenderer(XWikiComponentManager componentManager,
XWikiConfigurationProvider configuration) |
| Modifier and Type | Method and Description |
|---|---|
String |
render(Reader source)
XWiki XHTML rendering using default syntax.
|
String |
render(Reader source,
Iterable<org.xwiki.rendering.transformation.Transformation> transformations)
XWiki XHTML rendering using default syntax.
|
String |
render(Reader source,
Iterable<org.xwiki.rendering.transformation.Transformation> preTransformations,
Iterable<org.xwiki.rendering.transformation.Transformation> postTransformations)
XWiki XHTML rendering using default syntax.
|
String |
render(Reader source,
org.xwiki.rendering.syntax.Syntax inputSyntax)
XWiki XHTML rendering
|
String |
render(Reader source,
org.xwiki.rendering.syntax.Syntax inputSyntax,
Iterable<org.xwiki.rendering.transformation.Transformation> transformations)
XWiki XHTML rendering
|
String |
render(Reader source,
org.xwiki.rendering.syntax.Syntax inputSyntax,
Iterable<org.xwiki.rendering.transformation.Transformation> preTransformations,
Iterable<org.xwiki.rendering.transformation.Transformation> postTransformations)
XWiki XHTML rendering
|
String |
render(Reader source,
org.xwiki.rendering.syntax.Syntax inputSyntax,
org.xwiki.rendering.syntax.Syntax outputSyntax)
XWiki rendering
|
String |
render(Reader source,
org.xwiki.rendering.syntax.Syntax inputSyntax,
org.xwiki.rendering.syntax.Syntax outputSyntax,
Iterable<org.xwiki.rendering.transformation.Transformation> transformations)
XWiki rendering
|
String |
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)
XWiki rendering
|
String |
render(String source)
XWiki XHTML rendering using default syntax
|
String |
render(String source,
Iterable<org.xwiki.rendering.transformation.Transformation> transformations)
XWiki XHTML rendering using default syntax
|
String |
render(String source,
Iterable<org.xwiki.rendering.transformation.Transformation> preTransformations,
Iterable<org.xwiki.rendering.transformation.Transformation> postTransformations)
XWiki XHTML rendering using default syntax
|
String |
render(String source,
org.xwiki.rendering.syntax.Syntax inputSyntax)
XWiki XHTML rendering
|
String |
render(String source,
org.xwiki.rendering.syntax.Syntax inputSyntax,
Iterable<org.xwiki.rendering.transformation.Transformation> transformations)
XWiki XHTML rendering
|
String |
render(String source,
org.xwiki.rendering.syntax.Syntax inputSyntax,
Iterable<org.xwiki.rendering.transformation.Transformation> preTransformations,
Iterable<org.xwiki.rendering.transformation.Transformation> postTransformations)
XWiki XHTML rendering
|
String |
render(String source,
org.xwiki.rendering.syntax.Syntax inputSyntax,
org.xwiki.rendering.syntax.Syntax outputSyntax)
XWiki rendering
|
String |
render(String source,
org.xwiki.rendering.syntax.Syntax inputSyntax,
org.xwiki.rendering.syntax.Syntax outputSyntax,
Iterable<org.xwiki.rendering.transformation.Transformation> transformations)
XWiki rendering
|
String |
render(String 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)
XWiki rendering
|
applyRenderer, buildXDOM, createRenderer, getTransformationForMacro, transformpublic XWikiRenderer(XWikiComponentManager componentManager, XWikiConfigurationProvider configuration)
public String render(Reader source, org.xwiki.rendering.syntax.Syntax inputSyntax, org.xwiki.rendering.syntax.Syntax outputSyntax)
source - source text readerinputSyntax - inputSyntaxoutputSyntax - outputSyntaxpublic String render(Reader source, org.xwiki.rendering.syntax.Syntax inputSyntax, org.xwiki.rendering.syntax.Syntax outputSyntax, Iterable<org.xwiki.rendering.transformation.Transformation> transformations)
source - source text readerinputSyntax - inputSyntaxoutputSyntax - outputSyntaxtransformations - transforms applied after macrospublic String 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)
source - source text readerinputSyntax - inputSyntaxoutputSyntax - outputSyntaxpreTransformations - transforms applied before macrospostTransformations - transforms applied after macrospublic String render(Reader source, org.xwiki.rendering.syntax.Syntax inputSyntax)
source - a source textinputSyntax - input syntaxpublic String render(Reader source, org.xwiki.rendering.syntax.Syntax inputSyntax, Iterable<org.xwiki.rendering.transformation.Transformation> transformations)
source - a source textinputSyntax - input syntaxtransformations - transforms applied after macrospublic String render(Reader source, org.xwiki.rendering.syntax.Syntax inputSyntax, Iterable<org.xwiki.rendering.transformation.Transformation> preTransformations, Iterable<org.xwiki.rendering.transformation.Transformation> postTransformations)
source - a source textinputSyntax - input syntaxpreTransformations - transforms applied before macrospostTransformations - transforms applied after macrospublic String render(Reader source)
source - a source textpublic String render(Reader source, Iterable<org.xwiki.rendering.transformation.Transformation> transformations)
source - a source texttransformations - transforms applied after macrospublic String render(Reader source, Iterable<org.xwiki.rendering.transformation.Transformation> preTransformations, Iterable<org.xwiki.rendering.transformation.Transformation> postTransformations)
source - a source textpreTransformations - transforms applied before macrospostTransformations - transforms applied after macrospublic String render(String source, org.xwiki.rendering.syntax.Syntax inputSyntax, org.xwiki.rendering.syntax.Syntax outputSyntax)
source - a source textinputSyntax - inputSyntaxoutputSyntax - outputSyntaxpublic String render(String source, org.xwiki.rendering.syntax.Syntax inputSyntax, org.xwiki.rendering.syntax.Syntax outputSyntax, Iterable<org.xwiki.rendering.transformation.Transformation> transformations)
source - a source textinputSyntax - inputSyntaxoutputSyntax - outputSyntaxtransformations - transforms applied after macrospublic String render(String 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)
source - a source textinputSyntax - inputSyntaxoutputSyntax - outputSyntaxpreTransformations - transforms applied before macrospostTransformations - transforms applied after macrospublic String render(String source, org.xwiki.rendering.syntax.Syntax inputSyntax)
source - a source textinputSyntax - inputSyntaxpublic String render(String source, org.xwiki.rendering.syntax.Syntax inputSyntax, Iterable<org.xwiki.rendering.transformation.Transformation> transformations)
source - a source textinputSyntax - inputSyntaxtransformations - transforms applied after macrospublic String render(String source, org.xwiki.rendering.syntax.Syntax inputSyntax, Iterable<org.xwiki.rendering.transformation.Transformation> preTransformations, Iterable<org.xwiki.rendering.transformation.Transformation> postTransformations)
source - a source textinputSyntax - inputSyntaxpreTransformations - transforms applied before macrospostTransformations - transforms applied after macrospublic String render(String source)
source - a source textpublic String render(String source, Iterable<org.xwiki.rendering.transformation.Transformation> transformations)
source - a source texttransformations - transforms applied after macrospublic String render(String source, Iterable<org.xwiki.rendering.transformation.Transformation> preTransformations, Iterable<org.xwiki.rendering.transformation.Transformation> postTransformations)
source - a source textpreTransformations - transforms applied before macrospostTransformations - transforms applied after macros