com.atlassian.confluence.content.render.xhtml.transformers
Interface DefaultFragmentTransformerFactory

All Known Implementing Classes:
DefaultFragmentTransformerFactoryImpl

public interface DefaultFragmentTransformerFactory


Method Summary
 DefaultFragmentTransformer createDefault()
           
 DefaultFragmentTransformer createWithCustomFragmentTransformers(List<? extends FragmentTransformer> additional)
          Create a DefaultFragmentTransformer with an extended set of FragmentTransformers.
 

Method Detail

createDefault

DefaultFragmentTransformer createDefault()
Returns:
a default configuration of transformer

createWithCustomFragmentTransformers

DefaultFragmentTransformer createWithCustomFragmentTransformers(List<? extends FragmentTransformer> additional)
Create a DefaultFragmentTransformer with an extended set of FragmentTransformers. You can specify additional FragmentTransformers to be applied before the default one which effectively provides a mechanism to override the default FragmentTransformers since once a Fragment has been transformed it will no longer match the default FragmentTransformer that may otherwise have applied.

Parameters:
additional - the List of FragmentTransformer to be applied before the default FragmentTransformers.
Returns:
an appropriately configured DefaultFragmentTransformer


Copyright © 2003–2015 Atlassian. All rights reserved.