Package | Description |
---|---|
org.jadira.bindings.core.binder | |
org.jadira.bindings.core.cdi | |
org.jadira.bindings.core.provider | |
org.jadira.bindings.core.spi |
Modifier and Type | Method and Description |
---|---|
ConverterKey<?,?> |
NoConverterFoundException.getConverterKey()
Get the
ConverterKey used to resolve unsuccessfully |
ConverterKey<O,I> |
ConverterKey.invert() |
Modifier and Type | Method and Description |
---|---|
Iterable<ConverterKey<?,?>> |
RegisterableBinder.getConverterEntries()
Return an iterable collection of ConverterKeys, one for each currently registered conversion
|
Iterable<ConverterKey<?,?>> |
BasicBinder.getConverterEntries()
Return an iterable collection of ConverterKeys, one for each currently registered conversion
|
Modifier and Type | Method and Description |
---|---|
<S,T> T |
ConversionBinder.convertTo(ConverterKey<S,T> key,
Object object)
Convert an object which is an instance of source class to the given target class
|
<S,T> T |
BasicBinder.convertTo(ConverterKey<S,T> key,
Object object)
Convert an object which is an instance of source class to the given target class
|
<S,T> Binding<S,T> |
SearchableBinder.findBinding(ConverterKey<S,T> key)
Resolve a Binding with the given source and target class.
|
<S,T> Binding<S,T> |
BasicBinder.findBinding(ConverterKey<S,T> key)
Resolve a Binding with the given source and target class.
|
<S,T> Converter<S,T> |
SearchableBinder.findConverter(ConverterKey<S,T> key)
Resolve a Converter with the given input and output classes.
|
<S,T> Converter<S,T> |
BasicBinder.findConverter(ConverterKey<S,T> key)
Resolve a Converter with the given input and output classes.
|
<S,T> ToMarshaller<S,T> |
SearchableBinder.findMarshaller(ConverterKey<S,T> key)
Resolve a Marshaller with the given source and target class.
|
<S,T> ToMarshaller<S,T> |
BasicBinder.findMarshaller(ConverterKey<S,T> key)
Resolve a Marshaller with the given source and target class.
|
<S,T> FromUnmarshaller<S,T> |
SearchableBinder.findUnmarshaller(ConverterKey<S,T> key)
Resolve an UnMarshaller with the given source and target class.
|
<S,T> FromUnmarshaller<S,T> |
BasicBinder.findUnmarshaller(ConverterKey<S,T> key)
Resolve an UnMarshaller with the given source and target class.
|
<S,T> void |
RegisterableBinder.registerBinding(ConverterKey<S,T> key,
Binding<S,T> converter)
Register a Binding with the given source and target class.
|
<S,T> void |
BasicBinder.registerBinding(ConverterKey<S,T> key,
Binding<S,T> converter)
Register a Binding with the given source and target class.
|
<S,T> void |
RegisterableBinder.registerConverter(ConverterKey<S,T> key,
Converter<S,T> converter)
Register a Converter with the given input and output classes.
|
<S,T> void |
BasicBinder.registerConverter(ConverterKey<S,T> key,
Converter<S,T> converter)
Register a Converter with the given input and output classes.
|
<S,T> void |
RegisterableBinder.registerMarshaller(ConverterKey<S,T> key,
ToMarshaller<S,T> converter)
Register a Marshaller with the given source and target class.
|
<S,T> void |
BasicBinder.registerMarshaller(ConverterKey<S,T> key,
ToMarshaller<S,T> converter)
Register a Marshaller with the given source and target class.
|
<S,T> void |
RegisterableBinder.registerUnmarshaller(ConverterKey<S,T> key,
FromUnmarshaller<S,T> converter)
Register an UnMarshaller with the given source and target class.
|
<S,T> void |
BasicBinder.registerUnmarshaller(ConverterKey<S,T> key,
FromUnmarshaller<S,T> converter)
Register an UnMarshaller with the given source and target class.
|
Constructor and Description |
---|
NoConverterFoundException(ConverterKey<?,?> converterKey)
Creates a new instance for the given
ConverterKey |
Modifier and Type | Method and Description |
---|---|
Iterable<ConverterKey<?,?>> |
BinderExtension.getConverterEntries()
Return an iterable collection of ConverterKeys, one for each currently registered conversion
|
Modifier and Type | Method and Description |
---|---|
<S,T> T |
BinderExtension.convertTo(ConverterKey<S,T> key,
Object object)
Convert an object which is an instance of source class to the given target class
|
<S,T> Binding<S,T> |
BinderExtension.findBinding(ConverterKey<S,T> key)
Resolve a Binding with the given source and target class.
|
<S,T> Converter<S,T> |
BinderExtension.findConverter(ConverterKey<S,T> key)
Resolve a Converter with the given input and output classes.
|
<S,T> ToMarshaller<S,T> |
BinderExtension.findMarshaller(ConverterKey<S,T> key)
Resolve a Marshaller with the given source and target class.
|
<S,T> FromUnmarshaller<S,T> |
BinderExtension.findUnmarshaller(ConverterKey<S,T> key)
Resolve an UnMarshaller with the given source and target class.
|
<S,T> void |
BinderExtension.registerBinding(ConverterKey<S,T> key,
Binding<S,T> converter)
Register a Binding with the given source and target class.
|
<S,T> void |
BinderExtension.registerConverter(ConverterKey<S,T> key,
Converter<S,T> converter)
Register a Converter with the given input and output classes.
|
<S,T> void |
BinderExtension.registerMarshaller(ConverterKey<S,T> key,
ToMarshaller<S,T> converter)
Register a Marshaller with the given source and target class.
|
<S,T> void |
BinderExtension.registerUnmarshaller(ConverterKey<S,T> key,
FromUnmarshaller<S,T> converter)
Register an UnMarshaller with the given source and target class.
|
Modifier and Type | Method and Description |
---|---|
<I,O> Map<ConverterKey<?,?>,Constructor<O>> |
AbstractAnnotationMatchingConverterProvider.matchFromConstructors(Class<O> cls) |
<I,O> Map<ConverterKey<?,?>,Method> |
AbstractAnnotationMatchingConverterProvider.matchFromMethods(Class<?> cls) |
<I,O> Map<ConverterKey<?,?>,Method> |
AbstractAnnotationMatchingConverterProvider.matchToMethods(Class<?> cls) |
Modifier and Type | Method and Description |
---|---|
<I,O> Map<ConverterKey<?,?>,Constructor<O>> |
ConverterProvider.matchFromConstructors(Class<O> cls)
Match constructors that can perform a from operation
|
<I,O> Map<ConverterKey<?,?>,Method> |
ConverterProvider.matchFromMethods(Class<?> cls)
Match methods that can perform a from operation
|
<I,O> Map<ConverterKey<?,?>,Method> |
ConverterProvider.matchToMethods(Class<?> cls)
Match methods that can perform a to operation
|
Copyright © 2010–2018 Jadira Systems. All rights reserved.