@Metadata(label="dataformat,transformation") public class DataFormatDefinition extends IdentifiedType implements OtherAttributesAware, DefinitionPropertyPlaceholderConfigurer
| Modifier | Constructor and Description |
|---|---|
|
DataFormatDefinition() |
|
DataFormatDefinition(org.apache.camel.spi.DataFormat dataFormat) |
protected |
DataFormatDefinition(String dataFormatName) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getContentTypeHeader() |
org.apache.camel.spi.DataFormat |
getDataFormat() |
String |
getDataFormatName() |
Map<QName,Object> |
getOtherAttributes()
Adds optional attribute to use as property placeholder
|
String |
getShortName() |
void |
setContentTypeHeader(Boolean contentTypeHeader)
Whether the data format should set the Content-Type header with
the type from the data format if the data format is capable of doing so.
|
void |
setDataFormat(org.apache.camel.spi.DataFormat dataFormat) |
void |
setDataFormatName(String dataFormatName) |
void |
setOtherAttributes(Map<QName,Object> otherAttributes)
Adds an optional attribute
|
getId, setIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetReadPropertyPlaceholderOptions, getWritePropertyPlaceholderOptionspublic DataFormatDefinition()
public DataFormatDefinition(org.apache.camel.spi.DataFormat dataFormat)
protected DataFormatDefinition(String dataFormatName)
public String getDataFormatName()
public void setDataFormatName(String dataFormatName)
public org.apache.camel.spi.DataFormat getDataFormat()
public void setDataFormat(org.apache.camel.spi.DataFormat dataFormat)
public Map<QName,Object> getOtherAttributes()
OtherAttributesAwaregetOtherAttributes in interface OtherAttributesAwarepublic void setOtherAttributes(Map<QName,Object> otherAttributes)
setOtherAttributes in interface OtherAttributesAwarepublic Boolean getContentTypeHeader()
public void setContentTypeHeader(Boolean contentTypeHeader)
public String getShortName()
Apache Camel