public class PluggableTransformerChain extends Object implements Transformer
Transformer
which passes the input through a series of other transformers provided by enabled plugins'
TransformerModuleDescriptor
s, in addition to a set of defaults transformers.
WARNING: This class if prone to OutOfMemoryError
s when the input is large.Constructor and Description |
---|
PluggableTransformerChain(com.atlassian.plugin.PluginAccessor pluginAccessor,
List<TransformerWeight> defaultTransformers,
String transformerChainName) |
Modifier and Type | Method and Description |
---|---|
String |
transform(Reader input,
ConversionContext conversionContext) |
public PluggableTransformerChain(com.atlassian.plugin.PluginAccessor pluginAccessor, List<TransformerWeight> defaultTransformers, @NotNull String transformerChainName)
public String transform(Reader input, ConversionContext conversionContext) throws XhtmlException
transform
in interface Transformer
XhtmlParsingException
- if there is a problem parsing the input parameter.XhtmlException
- for all other errors that may occur during transformation.Copyright © 2003–2015 Atlassian. All rights reserved.