org.apache.camel.impl
Class DefaultDataFormatResolver
java.lang.Object
org.apache.camel.impl.DefaultDataFormatResolver
- All Implemented Interfaces:
- DataFormatResolver
public class DefaultDataFormatResolver
- extends Object
- implements DataFormatResolver
Default data format resolver
- Version:
- $Revision: 835732 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DATAFORMAT_RESOURCE_PATH
public static final String DATAFORMAT_RESOURCE_PATH
- See Also:
- Constant Field Values
dataformatFactory
protected FactoryFinder dataformatFactory
DefaultDataFormatResolver
public DefaultDataFormatResolver()
resolveDataFormat
public DataFormat resolveDataFormat(String name,
CamelContext context)
- Description copied from interface:
DataFormatResolver
- Resolves the given data format given its name.
- Specified by:
resolveDataFormat in interface DataFormatResolver
- Parameters:
name - the name of the data format to lookup in Registry or createcontext - the camel context
- Returns:
- the data format or null if not possible to resolve
resolveDataFormatDefinition
public DataFormatDefinition resolveDataFormatDefinition(String name,
CamelContext context)
- Description copied from interface:
DataFormatResolver
- Resolves the given data format definition given its name.
- Specified by:
resolveDataFormatDefinition in interface DataFormatResolver
- Parameters:
name - the name of the data format to lookup in Registry or createcontext - the camel context
- Returns:
- the data format or null if not possible to resolve
Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.