org.mmbase.util.transformers
Class AbstractTransformer

java.lang.Object
  |
  +--org.mmbase.util.transformers.AbstractTransformer
All Implemented Interfaces:
Transformer
Direct Known Subclasses:
Base64, MD5, 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.Map 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
 
Methods inherited from interface org.mmbase.util.transformers.Transformer
getEncoding
 

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.Map 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:
A Map with String Integer/Class pairs.


MMBase build 1.6.5.20030923