org.jopendocument.util.cc
Class Transformer<E,T>

java.lang.Object
  extended by org.jopendocument.util.cc.Transformer<E,T>
All Implemented Interfaces:
org.apache.commons.collections.Transformer, IClosure<E>, ITransformer<E,T>, ITransformerExn<E,T,RuntimeException>
Direct Known Subclasses:
ITransformerWrapper

public abstract class Transformer<E,T>
extends Object
implements ITransformer<E,T>, IClosure<E>, org.apache.commons.collections.Transformer


Constructor Summary
Transformer()
           
 
Method Summary
 void executeChecked(E input)
           
static
<N> ITransformer<N,N>
nopTransformer()
           
 Object transform(Object input)
           
abstract  T transformChecked(E input)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Transformer

public Transformer()
Method Detail

nopTransformer

public static final <N> ITransformer<N,N> nopTransformer()

transform

public final Object transform(Object input)
Specified by:
transform in interface org.apache.commons.collections.Transformer

transformChecked

public abstract T transformChecked(E input)
Specified by:
transformChecked in interface ITransformer<E,T>
Specified by:
transformChecked in interface ITransformerExn<E,T,RuntimeException>

executeChecked

public final void executeChecked(E input)
Specified by:
executeChecked in interface IClosure<E>


Copyright © 2010 jOpenDocument All Rights Reserved.