@Metadata(firstVersion="2.3.0", label="dataformat,transformation,xml", title="SOAP") public class SoapJaxbDataFormat extends DataFormatDefinition
Constructor and Description |
---|
SoapJaxbDataFormat() |
SoapJaxbDataFormat(String contextPath) |
SoapJaxbDataFormat(String contextPath,
Object elementNameStrategy) |
SoapJaxbDataFormat(String contextPath,
String elementNameStrategyRef) |
Modifier and Type | Method and Description |
---|---|
protected void |
configureDataFormat(DataFormat dataFormat,
CamelContext camelContext)
Allows derived classes to customize the data format
|
String |
getContextPath() |
Object |
getElementNameStrategy() |
String |
getElementNameStrategyRef() |
String |
getEncoding() |
String |
getNamespacePrefixRef() |
String |
getSchema() |
String |
getVersion() |
void |
setContextPath(String contextPath)
Package name where your JAXB classes are located.
|
void |
setElementNameStrategy(Object elementNameStrategy)
Sets an element strategy instance to use.
|
void |
setElementNameStrategyRef(String elementNameStrategyRef)
Refers to an element strategy to lookup from the registry.
|
void |
setEncoding(String encoding)
To overrule and use a specific encoding
|
void |
setNamespacePrefixRef(String namespacePrefixRef)
When marshalling using JAXB or SOAP then the JAXB implementation will automatic assign namespace prefixes,
such as ns2, ns3, ns4 etc.
|
void |
setSchema(String schema)
To validate against an existing schema.
|
void |
setVersion(String version)
SOAP version should either be 1.1 or 1.2.
|
configureDataFormat, createDataFormat, getContentTypeHeader, getDataFormat, getDataFormat, getDataFormat, getDataFormatName, getOtherAttributes, getShortName, setContentTypeHeader, setDataFormat, setDataFormatName, setOtherAttributes, setProperty, setProperty
getId, setId
public SoapJaxbDataFormat()
public SoapJaxbDataFormat(String contextPath)
public SoapJaxbDataFormat(String contextPath, String elementNameStrategyRef)
public SoapJaxbDataFormat(String contextPath, Object elementNameStrategy)
public void setContextPath(String contextPath)
public String getContextPath()
public void setEncoding(String encoding)
public String getEncoding()
public void setElementNameStrategyRef(String elementNameStrategyRef)
public String getElementNameStrategyRef()
public String getVersion()
public void setVersion(String version)
public void setElementNameStrategy(Object elementNameStrategy)
public Object getElementNameStrategy()
public String getNamespacePrefixRef()
public void setNamespacePrefixRef(String namespacePrefixRef)
public void setSchema(String schema)
protected void configureDataFormat(DataFormat dataFormat, CamelContext camelContext)
DataFormatDefinition
configureDataFormat
in class DataFormatDefinition
Apache Camel