org.xwiki.rendering.internal.converter
Class DefaultConverter
java.lang.Object
org.xwiki.rendering.internal.converter.DefaultConverter
- All Implemented Interfaces:
- Converter
@Component
@Singleton
public class DefaultConverter
- extends Object
- implements Converter
Default implementation for Converter.
- Version:
- $Id$
|
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultConverter
public DefaultConverter()
convert
public 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.
- Specified by:
convert in interface Converter
- 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)- See Also:
Converter.convert(java.io.Reader, org.xwiki.rendering.syntax.Syntax, org.xwiki.rendering.syntax.Syntax, org.xwiki.rendering.renderer.printer.WikiPrinter)
Copyright © 2004-2011 XWiki. All Rights Reserved.