public interface ContentTransformerFactory
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.Modifier and Type | Method and Description |
---|---|
Transformer |
getTransformer(MacroDefinitionHandler macroDefinitionHandler)
Deprecated.
Use
getTransformer(MacroDefinitionHandler, MacroDefinitionMarshallingStrategy) instead. Since v5.0. |
Transformer |
getTransformer(MacroDefinitionHandler handler,
MacroDefinitionMarshallingStrategy strategy)
Returns a Transformer.
|
Transformer |
getTransformer(MacroDefinitionReplacer macroDefinitionReplacer)
Returns a Transformer.
|
Transformer |
getTransformer(MacroDefinitionUpdater macroDefinitionUpdater)
Returns a Transformer.
|
Transformer getTransformer(MacroDefinitionUpdater macroDefinitionUpdater)
macroDefinitionUpdater
- that will be called each time a macro is found in the content.Transformer getTransformer(MacroDefinitionReplacer macroDefinitionReplacer)
macroDefinitionReplacer
- that will be called each time a macro is found in the content.@Deprecated Transformer getTransformer(MacroDefinitionHandler macroDefinitionHandler)
getTransformer(MacroDefinitionHandler, MacroDefinitionMarshallingStrategy)
instead. Since v5.0.macroDefinitionHandler
- that will be called each time a macro is found in the content.Transformer getTransformer(MacroDefinitionHandler handler, MacroDefinitionMarshallingStrategy strategy)
handler
- that will be called each time a macro is found in the content.strategy
- that determines how each macro's MacroDefinition should be marshalled.Copyright © 2003–2016 Atlassian. All rights reserved.