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