org.mmbase.util.transformers
Class AbstractTransformer

java.lang.Object
  |
  +--org.mmbase.util.transformers.AbstractTransformer
All Implemented Interfaces:
Transformer
Direct Known Subclasses:
Base64, Sql, Url, Xml, XmlField

public abstract class AbstractTransformer
extends java.lang.Object
implements Transformer

Author:
Michiel Meeuwissen

Field Summary
protected  int to
           
 
Constructor Summary
AbstractTransformer()
           
 
Method Summary
 void configure(int t)
          If a transformer can handle more then one destination format, it can be configured with this.
abstract  java.util.HashMap transformers()
          Returns which transformations can be done by an object of this class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

to

protected int to
Constructor Detail

AbstractTransformer

public AbstractTransformer()
Method Detail

configure

public void configure(int t)
Description copied from interface: Transformer
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.
Specified by:
configure in interface Transformer

transformers

public abstract java.util.HashMap transformers()
Description copied from interface: Transformer
Returns which transformations can be done by an object of this class.
Specified by:
transformers in interface Transformer
Following copied from interface: org.mmbase.util.transformers.Transformer
Returns:
An HashMap with String Integer/Class pairs.


MMBase 2002