@Metadata(firstVersion="2.0.0",
label="dataformat,transformation,csv",
title="Bindy")
public class BindyDataFormat
extends DataFormatDefinition
| Constructor and Description |
|---|
BindyDataFormat() |
| Modifier and Type | Method and Description |
|---|---|
BindyDataFormat |
allowEmptyStream(boolean allowEmptyStream) |
BindyDataFormat |
allowEmptyStream(String allowEmptyStream) |
BindyDataFormat |
classType(Class<?> classType) |
BindyDataFormat |
classType(String classType) |
BindyDataFormat |
csv() |
BindyDataFormat |
fixed() |
String |
getAllowEmptyStream() |
Class<?> |
getClassType() |
String |
getClassTypeAsString() |
String |
getDataFormatName() |
String |
getLocale() |
String |
getType() |
String |
getUnwrapSingleInstance() |
BindyDataFormat |
keyValue() |
BindyDataFormat |
locale(Locale locale) |
BindyDataFormat |
locale(String locale) |
void |
setAllowEmptyStream(String allowEmptyStream)
Whether to allow empty streams in the unmarshal process.
|
void |
setClassType(Class<?> classType)
Name of model class to use.
|
void |
setClassType(String classType)
Name of model class to use.
|
void |
setClassTypeAsString(String classType)
Name of model class to use.
|
void |
setLocale(String locale)
To configure a default locale to use, such as us for united
states.
|
void |
setType(String type)
Whether to use Csv, Fixed, or KeyValue.
|
void |
setUnwrapSingleInstance(String unwrapSingleInstance)
When unmarshalling should a single instance be unwrapped and returned
instead of wrapped in a java.util.List.
|
BindyDataFormat |
type(BindyType type) |
BindyDataFormat |
type(String type) |
BindyDataFormat |
unwrapSingleInstance(boolean unwrapSingleInstance) |
BindyDataFormat |
unwrapSingleInstance(String unwrapSingleInstance) |
getContentTypeHeader, getDataFormat, getShortName, setContentTypeHeader, setDataFormat, setDataFormatNamegetId, setIdpublic BindyDataFormat()
public String getClassTypeAsString()
public String getDataFormatName()
getDataFormatName in class DataFormatDefinitionpublic void setClassTypeAsString(String classType)
public void setClassType(String classType)
public void setClassType(Class<?> classType)
public Class<?> getClassType()
public void setLocale(String locale)
public String getUnwrapSingleInstance()
public void setUnwrapSingleInstance(String unwrapSingleInstance)
public String getAllowEmptyStream()
public void setAllowEmptyStream(String allowEmptyStream)
public BindyDataFormat csv()
public BindyDataFormat fixed()
public BindyDataFormat keyValue()
public BindyDataFormat type(BindyType type)
public BindyDataFormat type(String type)
public BindyDataFormat classType(Class<?> classType)
public BindyDataFormat classType(String classType)
public BindyDataFormat locale(Locale locale)
public BindyDataFormat locale(String locale)
public BindyDataFormat unwrapSingleInstance(boolean unwrapSingleInstance)
public BindyDataFormat unwrapSingleInstance(String unwrapSingleInstance)
public BindyDataFormat allowEmptyStream(boolean allowEmptyStream)
public BindyDataFormat allowEmptyStream(String allowEmptyStream)
Apache Camel