@Metadata(firstVersion="2.1.0", label="dataformat,transformation,xml", title="Castor") @Deprecated public class CastorDataFormat extends DataFormatDefinition
Constructor and Description |
---|
CastorDataFormat()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
configureDataFormat(DataFormat dataFormat,
CamelContext camelContext)
Deprecated.
Allows derived classes to customize the data format
|
String |
getAllowedUnmarshallObjects()
Deprecated.
|
String[] |
getClasses()
Deprecated.
|
String |
getDeniedUnmarshallObjects()
Deprecated.
|
String |
getEncoding()
Deprecated.
|
String |
getMappingFile()
Deprecated.
|
String[] |
getPackages()
Deprecated.
|
Boolean |
getValidation()
Deprecated.
|
Boolean |
getWhitelistEnabled()
Deprecated.
|
void |
setAllowedUnmarshallObjects(String allowedUnmarshallObjects)
Deprecated.
Define the allowed objects to be unmarshalled.
|
void |
setClasses(String[] classes)
Deprecated.
Add additional class names to Castor XmlContext
|
void |
setDeniedUnmarshallObjects(String deniedUnmarshallObjects)
Deprecated.
Define the denied objects to be unmarshalled.
|
void |
setEncoding(String encoding)
Deprecated.
Encoding to use when marshalling an Object to XML.
|
void |
setMappingFile(String mappingFile)
Deprecated.
Path to a Castor mapping file to load from the classpath.
|
void |
setPackages(String[] packages)
Deprecated.
Add additional packages to Castor XmlContext
|
void |
setValidation(Boolean validation)
Deprecated.
Whether validation is turned on or off.
|
void |
setWhitelistEnabled(Boolean whitelistEnabled)
Deprecated.
Define if Whitelist feature is enabled or not
|
configureDataFormat, createDataFormat, getContentTypeHeader, getDataFormat, getDataFormat, getDataFormat, getDataFormatName, getOtherAttributes, getShortName, setContentTypeHeader, setDataFormat, setDataFormatName, setOtherAttributes, setProperty, setProperty
getId, setId
public CastorDataFormat()
public Boolean getValidation()
public void setValidation(Boolean validation)
public String getMappingFile()
public void setMappingFile(String mappingFile)
public String[] getPackages()
public void setPackages(String[] packages)
public String[] getClasses()
public void setClasses(String[] classes)
public String getEncoding()
public void setEncoding(String encoding)
public Boolean getWhitelistEnabled()
public void setWhitelistEnabled(Boolean whitelistEnabled)
public String getAllowedUnmarshallObjects()
public void setAllowedUnmarshallObjects(String allowedUnmarshallObjects)
EndpointHelper.matchPattern(String, String)
.
Denied objects takes precedence over allowed objects.public String getDeniedUnmarshallObjects()
public void setDeniedUnmarshallObjects(String deniedUnmarshallObjects)
EndpointHelper.matchPattern(String, String)
.
Denied objects takes precedence over allowed objects.protected void configureDataFormat(DataFormat dataFormat, CamelContext camelContext)
DataFormatDefinition
configureDataFormat
in class DataFormatDefinition
Apache Camel