org.apache.camel.spi
Interface DataFormatResolver

All Known Implementing Classes:
Activator.BundleDataFormatResolver, BlueprintDataFormatResolver, DefaultDataFormatResolver, OsgiDataFormatResolver

public interface DataFormatResolver

Represents a resolver of data formats.

Version:
$Revision: 16167 $

Method Summary
 DataFormat resolveDataFormat(String name, CamelContext context)
          Resolves the given data format given its name.
 DataFormatDefinition resolveDataFormatDefinition(String name, CamelContext context)
          Resolves the given data format definition given its name.
 

Method Detail

resolveDataFormat

DataFormat resolveDataFormat(String name,
                             CamelContext context)
Resolves the given data format given its name.

Parameters:
name - the name of the data format to lookup in Registry or create
context - the camel context
Returns:
the data format or null if not possible to resolve

resolveDataFormatDefinition

DataFormatDefinition resolveDataFormatDefinition(String name,
                                                 CamelContext context)
Resolves the given data format definition given its name.

Parameters:
name - the name of the data format to lookup in Registry or create
context - the camel context
Returns:
the data format or null if not possible to resolve


Apache CAMEL