Class ComposedTransformer

  • All Implemented Interfaces:
    Transformer

    public class ComposedTransformer
    extends AbstractTransformer
    Applies a list of transformers to the input object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.Object primTransform​(java.lang.Object anObject)
      Transforms anObject into a different object
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • transformers

        protected java.util.List<Transformer> transformers
    • Constructor Detail

      • ComposedTransformer

        public ComposedTransformer()
    • Method Detail

      • primTransform

        protected java.lang.Object primTransform​(java.lang.Object anObject)
                                          throws java.lang.Exception
        Transforms anObject into a different object
        Specified by:
        primTransform in class AbstractTransformer
        Parameters:
        anObject - the object to be transformed
        Returns:
        the transformed object
        Throws:
        java.lang.Exception