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 java.lang.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(java.util.List<Transformer> transformers)
           
 
Method Summary
 java.lang.String transform(java.io.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(java.util.List<Transformer> transformers)
Method Detail

transform

public java.lang.String transform(java.io.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-2014 Atlassian. All Rights Reserved.