Class TypeBinder

java.lang.Object
nz.org.riskscape.engine.bind.BaseBinder
nz.org.riskscape.engine.bind.impl.TypeBinder
All Implemented Interfaces:
nz.org.riskscape.engine.bind.ParameterBinder, nz.org.riskscape.engine.Identified

public class TypeBinder extends nz.org.riskscape.engine.bind.BaseBinder
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> nz.org.riskscape.problem.ResultOrProblems<T>
    bindValue(nz.org.riskscape.engine.bind.BindingContext context, Object value, Class<T> destinationType)
     
    boolean
    canBind(Class<?> sourceType, Class<?> destinationType)
     

    Methods inherited from class nz.org.riskscape.engine.bind.BaseBinder

    bind, getId, wrapLookup, wrapLookupNullOnMissing

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface nz.org.riskscape.engine.Identified

    getIdentifiedClass
  • Constructor Details

    • TypeBinder

      public TypeBinder()
  • Method Details

    • bindValue

      public <T> nz.org.riskscape.problem.ResultOrProblems<T> bindValue(nz.org.riskscape.engine.bind.BindingContext context, Object value, Class<T> destinationType)
    • canBind

      public boolean canBind(Class<?> sourceType, Class<?> destinationType)