Package | Description |
---|---|
org.apache.camel |
The core Camel API.
|
org.apache.camel.impl |
Default implementation classes for Camel Core
|
org.apache.camel.impl.converter |
Default implementation classes the Type Conversion Strategies
|
org.apache.camel.spi |
Service Provider Interfaces used internally by the Camel runtime which are plugin strategies.
|
org.apache.camel.support |
Base classes that help to implement the camel API and are expected to be extended by the user
|
org.apache.camel.util |
Utility classes used by the core of Camel.
|
Modifier and Type | Method and Description |
---|---|
TypeConverter |
CamelContext.getTypeConverter()
Returns the type converter used to coerce types from one type to another
|
Modifier and Type | Method and Description |
---|---|
protected TypeConverter |
DefaultCamelContext.createTypeConverter()
Lazily create a default implementation
|
TypeConverter |
DefaultCamelContext.getTypeConverter() |
Modifier and Type | Method and Description |
---|---|
void |
DefaultCamelContext.setTypeConverter(TypeConverter typeConverter) |
Modifier and Type | Class and Description |
---|---|
class |
ArrayTypeConverter
A type converter which is used to convert to and from array types
particularly for derived types of array component types and dealing with
primitive array types.
|
class |
AsyncProcessorTypeConverter
A simple converter that can convert any
Processor to an AsyncProcessor . |
class |
BaseTypeConverterRegistry
Base implementation of a type converter registry used for
type converters in Camel.
|
class |
DefaultTypeConverter
Default implementation of a type converter registry used for
type converters in Camel.
|
class |
EnumTypeConverter
A type converter which is used to convert from String to enum type
|
class |
FutureTypeConverter
Future type converter.
|
class |
InstanceMethodFallbackTypeConverter
A
TypeConverter implementation which instantiates an object
so that an instance method can be used as a fallback type converter |
class |
InstanceMethodTypeConverter
A
TypeConverter implementation which instantiates an object
so that an instance method can be used as a type converter |
class |
LazyLoadingTypeConverter
Deprecated.
will be removed in a future Camel release.
|
class |
PropertyEditorTypeConverter
Deprecated.
should be removed as it can cause side-effects when using 3rd party property editors
|
class |
StaticMethodFallbackTypeConverter
A
TypeConverter implementation which invokes a static method
as a fallback type converter from a type to another type |
class |
StaticMethodTypeConverter
A
TypeConverter implementation which invokes a static method to convert from a type to another type |
class |
ToStringTypeConverter
A simple converter that can convert any object to a String type by using the
toString() method of the object.
|
Modifier and Type | Field and Description |
---|---|
protected ConcurrentMap<BaseTypeConverterRegistry.TypeMapping,TypeConverter> |
BaseTypeConverterRegistry.typeMappings |
Modifier and Type | Method and Description |
---|---|
protected TypeConverter |
LazyLoadingTypeConverter.doLookup(Class<?> toType,
Class<?> fromType,
boolean isSuper)
Deprecated.
|
protected TypeConverter |
BaseTypeConverterRegistry.doLookup(Class<?> toType,
Class<?> fromType,
boolean isSuper) |
TypeConverter |
BaseTypeConverterRegistry.FallbackTypeConverter.getFallbackTypeConverter() |
protected <T> TypeConverter |
BaseTypeConverterRegistry.getOrFindTypeConverter(BaseTypeConverterRegistry.TypeMapping key) |
TypeConverter |
LazyLoadingTypeConverter.getTypeConverter(Class<?> toType,
Class<?> fromType)
Deprecated.
|
TypeConverter |
BaseTypeConverterRegistry.getTypeConverter(Class<?> toType,
Class<?> fromType) |
TypeConverter |
BaseTypeConverterRegistry.lookup(Class<?> toType,
Class<?> fromType) |
Modifier and Type | Method and Description |
---|---|
Map<Class<?>,TypeConverter> |
LazyLoadingTypeConverter.getToClassMappings(Class<?> fromClass)
Deprecated.
|
Map<Class<?>,TypeConverter> |
BaseTypeConverterRegistry.getToClassMappings(Class<?> fromClass) |
Map<BaseTypeConverterRegistry.TypeMapping,TypeConverter> |
LazyLoadingTypeConverter.getTypeMappings()
Deprecated.
|
Map<BaseTypeConverterRegistry.TypeMapping,TypeConverter> |
BaseTypeConverterRegistry.getTypeMappings() |
Modifier and Type | Method and Description |
---|---|
void |
BaseTypeConverterRegistry.addFallbackTypeConverter(TypeConverter typeConverter,
boolean canPromote) |
void |
BaseTypeConverterRegistry.addTypeConverter(Class<?> toType,
Class<?> fromType,
TypeConverter typeConverter) |
protected void |
AnnotationTypeConverterLoader.registerFallbackTypeConverter(TypeConverterRegistry registry,
TypeConverter typeConverter,
Method method) |
protected void |
AnnotationTypeConverterLoader.registerTypeConverter(TypeConverterRegistry registry,
Method method,
Class<?> toType,
Class<?> fromType,
TypeConverter typeConverter) |
Constructor and Description |
---|
FutureTypeConverter(TypeConverter converter) |
Modifier and Type | Method and Description |
---|---|
TypeConverter |
TypeConverterRegistry.lookup(Class<?> toType,
Class<?> fromType)
Performs a lookup for a given type converter.
|
Modifier and Type | Method and Description |
---|---|
void |
TypeConverterRegistry.addFallbackTypeConverter(TypeConverter typeConverter,
boolean canPromote)
Registers a new fallback type converter
|
void |
TypeConverterRegistry.addTypeConverter(Class<?> toType,
Class<?> fromType,
TypeConverter typeConverter)
Registers a new type converter.
|
void |
TypeConverterAware.setTypeConverter(TypeConverter parentTypeConverter)
Injects the root type converter.
|
Modifier and Type | Class and Description |
---|---|
class |
TypeConverterSupport
Base class for
TypeConverter implementations. |
Modifier and Type | Method and Description |
---|---|
static boolean |
IntrospectionSupport.setProperties(CamelContext context,
TypeConverter typeConverter,
Object target,
Map<String,Object> properties) |
static boolean |
IntrospectionSupport.setProperties(TypeConverter typeConverter,
Object target,
Map<String,Object> properties) |
static boolean |
IntrospectionSupport.setProperty(CamelContext context,
TypeConverter typeConverter,
Object target,
String name,
Object value) |
static boolean |
IntrospectionSupport.setProperty(CamelContext context,
TypeConverter typeConverter,
Object target,
String name,
Object value,
String refName,
boolean allowBuilderPattern)
This method supports two modes to set a property:
1.
|
static boolean |
IntrospectionSupport.setProperty(TypeConverter typeConverter,
Object target,
String name,
Object value) |
static int |
ObjectHelper.typeCoerceCompare(TypeConverter converter,
Object leftValue,
Object rightValue)
A helper method for comparing objects ordering in which it uses type coercion to coerce
types between the left and right values.
|
static boolean |
ObjectHelper.typeCoerceEquals(TypeConverter converter,
Object leftValue,
Object rightValue)
A helper method for comparing objects for equality in which it uses type coercion to coerce
types between the left and right values.
|
static boolean |
ObjectHelper.typeCoerceEquals(TypeConverter converter,
Object leftValue,
Object rightValue,
boolean ignoreCase)
A helper method for comparing objects for equality in which it uses type coercion to coerce
types between the left and right values.
|
static boolean |
ObjectHelper.typeCoerceNotEquals(TypeConverter converter,
Object leftValue,
Object rightValue)
A helper method for comparing objects for inequality in which it uses type coercion to coerce
types between the left and right values.
|
Apache Camel