com.atlassian.confluence.content.render.xhtml
Class TransformerChain

java.lang.Object
  extended by 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
TransformerChain(List<Transformer> transformers)
           
 
Method Summary
 String transform(Reader input, ConversionContext conversionContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransformerChain

public TransformerChain(List<Transformer> transformers)
Method Detail

transform

public String transform(Reader input,
                        ConversionContext conversionContext)
                 throws XhtmlException
Specified by:
transform in interface Transformer
Returns:
Throws:
XhtmlParsingException - if there is a problem parsing the input parameter.
XhtmlException - for all other errors that may occur during transformation.


Copyright © 2003-2012 Atlassian. All Rights Reserved.