@Role
public interface Converter
Modifier and Type | Method and Description |
---|---|
void |
convert(Reader source,
Syntax sourceSyntax,
Syntax targetSyntax,
WikiPrinter printer)
Converts content from a Syntax to another and execute all registered Macro Transformations on the parsed content.
|
void convert(Reader source, Syntax sourceSyntax, Syntax targetSyntax, WikiPrinter printer) throws ConversionException
source
- the content to be convertedsourceSyntax
- the Syntax in which the content is representedtargetSyntax
- the Syntax to which to convert toprinter
- the printer that will receive the result of the conversionConversionException
- in case of a conversion error (invalid Syntax, etc)Copyright © 2004–2021 XWiki. All rights reserved.