Class DefaultAsContextAwareConverter<S,​T,​C>

    • Constructor Detail

      • DefaultAsContextAwareConverter

        public DefaultAsContextAwareConverter()
    • Method Detail

      • convert

        public T convert​(S source,
                         C context)
        Description copied from interface: ContextAwareConverter
        Converts the source object, creating a new instance of the destination type.
        Specified by:
        convert in interface ContextAwareConverter<S,​T,​C>
        Parameters:
        source - the source object
        Returns:
        the converted object
      • createTarget

        protected T createTarget()
      • getTargetClass

        public java.lang.Class<T> getTargetClass()
      • setTargetClass

        public void setTargetClass​(java.lang.Class<T> targetClass)