org.mmbase.util.transformers
Interface ParameterizedTransformerFactory

All Known Implementing Classes:
ChecksumFactory, CodeSampleFactory, GoogleHighlighterFactory, RegexpReplacerFactory, ResourceBundleReplacerFactory, SubstringFactory, WordWrapperFactory

public interface ParameterizedTransformerFactory

ParameterizedTransformerFactories, can create Transformer instances, but can do that 'parameterized'. Implementations of this define 'createParameters' which returns an empty Parameters object which defines which parameters are accepted. The user can then fill this Parameters object and feed it to createTransformer(Parameters).

Since:
MMBase-1.8
Author:
Michiel Meeuwissen

Method Summary
 Parameters createParameters()
          Create empty Parameters object for use with createTransformer(Parameters).
 Transformer createTransformer(Parameters parameters)
          Creates a parameterized transformer.
 

Method Detail

createTransformer

public Transformer createTransformer(Parameters parameters)
Creates a parameterized transformer.


createParameters

public Parameters createParameters()
Create empty Parameters object for use with createTransformer(Parameters).



MMBase build 1.8.1.20060716