com.atlassian.confluence.content.render.xhtml.storage
Interface ContentTransformerFactory

All Known Implementing Classes:
DefaultContentTransformerFactory

public interface ContentTransformerFactory

Interface of a factory class that creates Transformer objects, typically used by macro developers to obtain and optionally modify macro tags (as MacroDefinition objects) in a page of macro body content. See DefaultContentTransformerFactory for an example.


Method Summary
 Transformer getTransformer(MacroDefinitionHandler macroDefinitionHandler)
          Returns a Transformer.
 Transformer getTransformer(MacroDefinitionReplacer macroDefinitionReplacer)
          Returns a Transformer.
 Transformer getTransformer(MacroDefinitionUpdater macroDefinitionUpdater)
          Returns a Transformer.
 

Method Detail

getTransformer

Transformer getTransformer(MacroDefinitionUpdater macroDefinitionUpdater)
Returns a Transformer.

Parameters:
macroDefinitionUpdater - that will be called each time a macro is found in the content.
Returns:
a transformer.

getTransformer

Transformer getTransformer(MacroDefinitionReplacer macroDefinitionReplacer)
Returns a Transformer.

Parameters:
macroDefinitionReplacer - that will be called each time a macro is found in the content.
Returns:
a transformer.

getTransformer

Transformer getTransformer(MacroDefinitionHandler macroDefinitionHandler)
Returns a Transformer.

Parameters:
macroDefinitionHandler - that will be called each time a macro is found in the content.
Returns:
a transformer.


Copyright © 2003-2011 Atlassian. All Rights Reserved.