org.xwiki.rendering.converter
Interface Converter
@Role
public interface Converter
Convert source content in a given Syntax to another Syntax.
- Since:
- 2.0M3
- Version:
- $Id: 38b75ce957ccca9bd3c233e021de53f013457818 $
|
Method Summary |
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. |
convert
void convert(Reader source,
Syntax sourceSyntax,
Syntax targetSyntax,
WikiPrinter printer)
throws ConversionException
- Converts content from a Syntax to another and execute all registered Macro Transformations on the parsed
content.
- Parameters:
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 conversion
- Throws:
ConversionException - in case of a conversion error (invalid Syntax, etc)
Copyright © 2004-2014 XWiki. All Rights Reserved.