net.sf.beanlib.spi
Class TrivialCustomBeanTransformerFactories

java.lang.Object
  extended by net.sf.beanlib.spi.TrivialCustomBeanTransformerFactories

public class TrivialCustomBeanTransformerFactories
extends Object

Author:
Hanson Char

Nested Class Summary
private static class TrivialCustomBeanTransformerFactories.IdentityCustomTransformer
          Used to delay loading class until necessary.
private static class TrivialCustomBeanTransformerFactories.NoopCustomTransformer
          Used to delay loading class until necessary.
private static class TrivialCustomBeanTransformerFactories.NullCustomTransformer
          Used to delay loading class until necessary.
 
Constructor Summary
TrivialCustomBeanTransformerFactories()
           
 
Method Summary
static CustomBeanTransformerSpi getIdentityCustomTransformer()
          Returns a custom transformer that always performs identical transformation (ie returns the same input instance).
static CustomBeanTransformerSpi.Factory getIdentityCustomTransformerFactory()
          Returns the factory of a custom transformer that always performs identical transformation (ie returns the same input instance).
static CustomBeanTransformerSpi getNoopCustomTransformer()
          Returns a custom transformer that is always not applicable.
static CustomBeanTransformerSpi.Factory getNoopCustomTransformerFactory()
          Returns the factory of a custom transformer that is always not applicable.
static CustomBeanTransformerSpi getNullCustomTransformer()
          Returns a custom transformer that always transforms to null.
static CustomBeanTransformerSpi.Factory getNullCustomTransformerFactory()
          Returns the factory a custom transformer that always transforms to null.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrivialCustomBeanTransformerFactories

public TrivialCustomBeanTransformerFactories()
Method Detail

getNoopCustomTransformerFactory

public static CustomBeanTransformerSpi.Factory getNoopCustomTransformerFactory()
Returns the factory of a custom transformer that is always not applicable.


getNoopCustomTransformer

public static CustomBeanTransformerSpi getNoopCustomTransformer()
Returns a custom transformer that is always not applicable.


getIdentityCustomTransformerFactory

public static CustomBeanTransformerSpi.Factory getIdentityCustomTransformerFactory()
Returns the factory of a custom transformer that always performs identical transformation (ie returns the same input instance).


getIdentityCustomTransformer

public static CustomBeanTransformerSpi getIdentityCustomTransformer()
Returns a custom transformer that always performs identical transformation (ie returns the same input instance).


getNullCustomTransformerFactory

public static CustomBeanTransformerSpi.Factory getNullCustomTransformerFactory()
Returns the factory a custom transformer that always transforms to null.


getNullCustomTransformer

public static CustomBeanTransformerSpi getNullCustomTransformer()
Returns a custom transformer that always transforms to null.