org.mmbase.util.transformers
Interface Transformer

All Known Subinterfaces:
ByteToCharTransformer, ByteTransformer, CharTransformer
All Known Implementing Classes:
AbstractTransformer

public interface Transformer

Interface for transformations.

Author:
Michiel Meeuwissen

Method Summary
 void configure(int to)
          If a transformer can handle more then one destination format, it can be configured with this.
 java.util.HashMap transformers()
          Returns which transformations can be done by an object of this class.
 

Method Detail

configure

public void configure(int to)
If a transformer can handle more then one destination format, it can be configured with this. There must be a default, since to can be null.

transformers

public java.util.HashMap transformers()
Returns which transformations can be done by an object of this class.
Returns:
An HashMap with String Integer/Class pairs.


MMBase 2002