Class TransformerChain
- java.lang.Object
-
- com.atlassian.confluence.content.render.xhtml.TransformerChain
-
- All Implemented Interfaces:
Transformer
public class TransformerChain extends Object implements Transformer
Takes an ordered list of transfomers and runs each of them serially, passing the transformation output of one transformer as input into the next.
-
-
Constructor Summary
Constructors Constructor Description TransformerChain(Iterable<Transformer> transformers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
transform(Reader input, ConversionContext conversionContext)
-
-
-
Constructor Detail
-
TransformerChain
public TransformerChain(Iterable<Transformer> transformers)
-
-
Method Detail
-
transform
public String transform(Reader input, ConversionContext conversionContext) throws XhtmlException
- 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.
-
-