Uses of Class
org.nuiton.util.beans.Binder
| Package | Description |
|---|---|
| org.nuiton.util.beans |
Packages for all stuff of bean transformations (binder, and others...).
|
-
Uses of Binder in org.nuiton.util.beans
Fields in org.nuiton.util.beans with type parameters of type Binder Modifier and Type Field Description protected java.util.Map<java.lang.String,Binder<?,?>>Binder.BinderModel. bindersmapping of extra binders to use to copy propertiesMethods in org.nuiton.util.beans with type parameters of type Binder Modifier and Type Method Description static <S, T, B extends Binder<S, T>>
BBinderFactory. newBinder(java.lang.Class<S> sourceType, java.lang.Class<T> targetType, java.lang.String contextName, java.lang.Class<B> binderType)Gets the registred binder given his types and his context's name.static <S, T, B extends Binder<S, T>>
BBinderFactory. newBinder(Binder.BinderModel<S,T> model, java.lang.Class<B> binderType)Given amodeland abinderType, instanciate a new binder and returns it.protected static <S, T, B extends Binder<S, T>>
Binder<S,T>BinderFactory. newBinder0(java.lang.Class<S> sourceType, java.lang.Class<T> targetType, java.lang.String contextName, java.lang.Class<B> binderType)Instanciate a new binder given his types and his context's name.<B extends Binder<S, T>>
BBinderModelBuilder. toBinder(java.lang.Class<B> binderType)Convinient method to create directly aBinderusing the underlyingBinderModelBuilder.modelthe builder contains.Methods in org.nuiton.util.beans that return Binder Modifier and Type Method Description Binder<?,?>Binder.BinderModel. getBinder(java.lang.String sourceProperty)static <S> Binder<S,S>BinderFactory. newBinder(java.lang.Class<S> sourceType)Gets the registred mirror binder (source type = target type) with no context name specified.static <S, T> Binder<S,T>BinderFactory. newBinder(java.lang.Class<S> sourceType, java.lang.Class<T> targetType)Gets the registred binder given his types with no context name.static <S, T> Binder<S,T>BinderFactory. newBinder(java.lang.Class<S> sourceType, java.lang.Class<T> targetType, java.lang.String contextName)Gets the registred binder given his types with no context name.static <S> Binder<S,S>BinderFactory. newBinder(java.lang.Class<S> sourceType, java.lang.String contextName)Gets the registred mirror binder (source type = target type) with the given context name.protected static <S, T, B extends Binder<S, T>>
Binder<S,T>BinderFactory. newBinder0(java.lang.Class<S> sourceType, java.lang.Class<T> targetType, java.lang.String contextName, java.lang.Class<B> binderType)Instanciate a new binder given his types and his context's name.Binder<S,T>BinderModelBuilder. toBinder()Convinient method to create directly aBinderusing the underlyingBinderModelBuilder.modelthe builder contains.Methods in org.nuiton.util.beans with parameters of type Binder Modifier and Type Method Description voidBinder.BinderModel. addBinder(java.lang.String propertyName, Binder<?,?> binder)BinderModelBuilder<S,T>BinderModelBuilder. addBinder(java.lang.String propertyName, Binder<?,?> binder)BinderModelBuilder<S,T>BinderModelBuilder. addCollectionBinder(Binder binder, java.lang.String... propertyNames)protected BinderModelBuilder<S,T>BinderModelBuilder. addCollectionStrategy0(java.lang.String propertyName, Binder.CollectionStrategy strategy, Binder binder)protected java.lang.ObjectBinder. bind(Binder binder, java.lang.Object read)static <S, T> Binder.BinderModel<S,T>BinderFactory. registerBinderModel(Binder<S,T> binder)static <S, T> Binder.BinderModel<S,T>BinderFactory. registerBinderModel(Binder<S,T> binder, java.lang.String contextName)