com.springsource.bundlor.internal.propertysubstitution
Class SumTransformer

java.lang.Object
  extended by com.springsource.bundlor.internal.propertysubstitution.SumTransformer
All Implemented Interfaces:
Transformer

 class SumTransformer
extends java.lang.Object
implements Transformer

The sum transformer perhaps a numeric computation (for example adding 3 or subtracting 4) on the input value.

Author:
Andy Clement

Field Summary
private  int modifier
           
 
Constructor Summary
SumTransformer(int modifier)
           
 
Method Summary
 java.lang.String toString()
           
<T> T
transform(T input)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

modifier

private int modifier
Constructor Detail

SumTransformer

SumTransformer(int modifier)
Method Detail

transform

public <T> T transform(T input)
Specified by:
transform in interface Transformer

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object