@Metadata(label="dataformat,transformation", title="Custom") public class CustomDataFormat extends DataFormatDefinition
Constructor and Description |
---|
CustomDataFormat() |
CustomDataFormat(String ref) |
Modifier and Type | Method and Description |
---|---|
protected DataFormat |
createDataFormat(RouteContext routeContext)
Factory method to create the data format instance
|
String |
getRef()
Reference to the custom
DataFormat to lookup from the Camel registry. |
void |
setRef(String ref)
Reference to the custom
DataFormat to lookup from the Camel registry. |
String |
toString() |
configureDataFormat, configureDataFormat, getContentTypeHeader, getDataFormat, getDataFormat, getDataFormat, getDataFormatName, getOtherAttributes, getShortName, setContentTypeHeader, setDataFormat, setDataFormatName, setOtherAttributes, setProperty, setProperty
getId, setId
public CustomDataFormat()
public CustomDataFormat(String ref)
protected DataFormat createDataFormat(RouteContext routeContext)
DataFormatDefinition
createDataFormat
in class DataFormatDefinition
public String getRef()
DataFormat
to lookup from the Camel registry.public void setRef(String ref)
DataFormat
to lookup from the Camel registry.Apache Camel