@Metadata(label="dataformat,transformation,json",
title="Boon")
public class BoonDataFormat
extends DataFormatDefinition
| Constructor and Description |
|---|
BoonDataFormat() |
BoonDataFormat(Class<?> unmarshalType) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureDataFormat(DataFormat dataFormat,
CamelContext camelContext)
Allows derived classes to customize the data format
|
protected DataFormat |
createDataFormat(RouteContext routeContext)
Factory method to create the data format instance
|
Class<?> |
getUnmarshalType() |
String |
getUnmarshalTypeName() |
boolean |
isUseList() |
void |
setUnmarshalType(Class<?> unmarshalType)
Class name of the java type to use when unarmshalling
|
void |
setUnmarshalTypeName(String unmarshalTypeName)
Class name of the java type to use when unarmshalling
|
void |
setUseList(boolean useList)
To unarmshal to a List of Map or a List of Pojo.
|
configureDataFormat, getDataFormat, getDataFormat, getDataFormat, getDataFormatName, getOtherAttributes, getShortName, setDataFormat, setDataFormatName, setOtherAttributes, setProperty, setPropertygetId, setIdpublic BoonDataFormat()
public BoonDataFormat(Class<?> unmarshalType)
public Class<?> getUnmarshalType()
public void setUnmarshalType(Class<?> unmarshalType)
public String getUnmarshalTypeName()
public void setUnmarshalTypeName(String unmarshalTypeName)
public boolean isUseList()
public void setUseList(boolean useList)
protected DataFormat createDataFormat(RouteContext routeContext)
DataFormatDefinitioncreateDataFormat in class DataFormatDefinitionprotected void configureDataFormat(DataFormat dataFormat, CamelContext camelContext)
DataFormatDefinitionconfigureDataFormat in class DataFormatDefinitionApache Camel