Class PluggableTransformerChain
java.lang.Object
com.atlassian.confluence.content.render.xhtml.PluggableTransformerChain
- All Implemented Interfaces:
Transformer
A
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.
- Since:
- 4.0
-
Constructor Summary
ConstructorsConstructorDescriptionPluggableTransformerChain
(com.atlassian.plugin.PluginAccessor pluginAccessor, List<TransformerWeight> defaultTransformers, @NonNull String transformerChainName) -
Method Summary
-
Constructor Details
-
PluggableTransformerChain
public PluggableTransformerChain(com.atlassian.plugin.PluginAccessor pluginAccessor, List<TransformerWeight> defaultTransformers, @NonNull String transformerChainName)
-
-
Method Details
-
transform
- Specified by:
transform
in interfaceTransformer
- Returns:
- Throws:
XhtmlParsingException
- if there is a problem parsing the input parameter.XhtmlException
- for all other errors that may occur during transformation.
-