public class DataFormatClause<T extends ProcessorDefinition<?>> extends Object
DataFormat
options.Modifier and Type | Class and Description |
---|---|
static class |
DataFormatClause.Operation
DataFormat operations. |
Constructor and Description |
---|
DataFormatClause(T processorType,
DataFormatClause.Operation operation) |
Modifier and Type | Method and Description |
---|---|
T |
any23(String baseuri)
Uses the Any23 data format
|
T |
any23(String baseuri,
Any23Type outputformat) |
T |
any23(String baseuri,
Any23Type outputformat,
Map<String,String> configurations) |
T |
any23(String baseuri,
Any23Type outputformat,
Map<String,String> configurations,
List<String> extractors) |
T |
asn1()
Uses the ASN.1 file data format
|
T |
asn1(Boolean usingIterator) |
T |
asn1(String clazzName) |
T |
avro()
Uses the Avro data format
|
T |
avro(Object schema) |
T |
avro(String instanceClassName) |
T |
base64()
Uses the base64 data format
|
T |
base64(int lineLength,
String lineSeparator,
boolean urlSafe)
Uses the base64 data format
|
T |
beanio(String mapping,
String streamName)
Uses the beanio data format
|
T |
beanio(String mapping,
String streamName,
String encoding)
Uses the beanio data format
|
T |
beanio(String mapping,
String streamName,
String encoding,
boolean ignoreUnidentifiedRecords,
boolean ignoreUnexpectedRecords,
boolean ignoreInvalidRecords)
Uses the beanio data format
|
T |
beanio(String mapping,
String streamName,
String encoding,
String beanReaderErrorHandlerType)
Uses the beanio data format
|
T |
bindy(BindyType type,
Class<?> classType)
Uses the Bindy data format
|
T |
bindy(BindyType type,
Class<?> classType,
boolean unwrapSingleInstance)
Uses the Bindy data format
|
T |
cbor()
Uses the CBOR data format
|
T |
cbor(Class<?> unmarshalType)
Uses the CBOR data format
|
T |
csv()
Uses the CSV data format
|
T |
csvLazyLoad()
Uses the CSV data format for a huge file.
|
T |
custom(String ref)
Uses the custom data format
|
T |
fhirJson()
Uses the FHIR JSON data format
|
T |
fhirJson(boolean prettyPrint) |
T |
fhirJson(String version) |
T |
fhirJson(String version,
boolean prettyPrint) |
T |
fhirXml()
Uses the FHIR XML data format
|
T |
fhirXml(boolean prettyPrint) |
T |
fhirXml(String version) |
T |
fhirXml(String version,
boolean prettyPrint) |
T |
grok(String pattern)
Uses the Grok data format
|
T |
gzipDeflater()
Uses the GZIP deflater data format
|
T |
hl7()
Uses the HL7 data format
|
T |
hl7(boolean validate)
Uses the HL7 data format
|
T |
hl7(Object parser)
Uses the HL7 data format
|
T |
ical(boolean validating)
Uses the iCal data format
|
T |
jacksonxml()
Uses the Jackson XML data format
|
T |
jacksonxml(boolean prettyPrint)
Uses the Jackson XML data format using the Jackson library turning pretty
printing on or off
|
T |
jacksonxml(Class<?> unmarshalType)
Uses the Jackson XML data format
|
T |
jacksonxml(Class<?> unmarshalType,
boolean prettyPrint)
Uses the Jackson XML data format
|
T |
jacksonxml(Class<?> unmarshalType,
Class<?> jsonView)
Uses the Jackson XML data format
|
T |
jacksonxml(Class<?> unmarshalType,
Class<?> jsonView,
boolean prettyPrint)
Uses the Jackson XML data format
|
T |
jacksonxml(Class<?> unmarshalType,
Class<?> jsonView,
String include)
Uses the Jackson XML data format
|
T |
jacksonxml(Class<?> unmarshalType,
Class<?> jsonView,
String include,
boolean prettyPrint)
Uses the Jackson XML data format
|
T |
jaxb()
Uses the JAXB data format
|
T |
jaxb(boolean prettyPrint)
Uses the JAXB data format turning pretty printing on or off
|
T |
jaxb(String contextPath)
Uses the JAXB data format with context path
|
T |
json()
Uses the JSON data format using the XStream json library
|
T |
json(boolean prettyPrint)
Uses the JSON data format using the XStream json library turning pretty
printing on or off
|
T |
json(Class<?> unmarshalType,
Class<?> jsonView)
Uses the Jackson JSON data format
|
T |
json(Class<?> unmarshalType,
Class<?> jsonView,
boolean prettyPrint)
Uses the Jackson JSON data format
|
T |
json(Class<?> unmarshalType,
Class<?> jsonView,
String include)
Uses the Jackson JSON data format
|
T |
json(Class<?> unmarshalType,
Class<?> jsonView,
String include,
boolean prettyPrint)
Uses the Jackson JSON data format
|
T |
json(JsonLibrary library)
Uses the JSON data format
|
T |
json(JsonLibrary library,
boolean prettyPrint)
Uses the JSON data format
|
T |
json(JsonLibrary type,
Class<?> unmarshalType)
Uses the JSON data format
|
T |
json(JsonLibrary type,
Class<?> unmarshalType,
boolean prettyPrint)
Uses the JSON data format
|
T |
jsonApi()
Uses the JSON API data format
|
T |
lzf()
Uses the LZF deflater data format
|
T |
mimeMultipart()
Uses the MIME Multipart data format
|
T |
mimeMultipart(boolean multipartWithoutAttachment,
boolean headersInline,
boolean binaryContent)
Uses the MIME Multipart data format
|
T |
mimeMultipart(String multipartSubType)
Uses the MIME Multipart data format
|
T |
mimeMultipart(String multipartSubType,
boolean multipartWithoutAttachment,
boolean headersInline,
boolean binaryContent)
Uses the MIME Multipart data format
|
T |
mimeMultipart(String multipartSubType,
boolean multipartWithoutAttachment,
boolean headersInline,
String includeHeaders,
boolean binaryContent)
Uses the MIME Multipart data format
|
T |
pgp(String keyFileName,
String keyUserid)
Uses the PGP data format
|
T |
pgp(String keyFileName,
String keyUserid,
String password)
Uses the PGP data format
|
T |
pgp(String keyFileName,
String keyUserid,
String password,
boolean armored,
boolean integrity)
Uses the PGP data format
|
T |
protobuf()
Uses the protobuf data format
|
T |
protobuf(Object defaultInstance) |
T |
protobuf(Object defaultInstance,
String contentTypeFormat) |
T |
protobuf(String instanceClassName) |
T |
protobuf(String instanceClassName,
String contentTypeFormat) |
T |
rss()
Uses the RSS data format
|
T |
secureXML()
Uses the XML Security data format
|
T |
secureXML(String secureTag,
boolean secureTagContents)
Uses the XML Security data format
|
T |
secureXML(String secureTag,
boolean secureTagContents,
byte[] passPhraseByte)
Uses the XML Security data format
|
T |
secureXML(String secureTag,
boolean secureTagContents,
byte[] passPhraseByte,
String xmlCipherAlgorithm)
Uses the XML Security data format
|
T |
secureXML(String secureTag,
boolean secureTagContents,
String passPhrase)
Uses the XML Security data format
|
T |
secureXML(String secureTag,
boolean secureTagContents,
String passPhrase,
String xmlCipherAlgorithm)
Uses the XML Security data format
|
T |
secureXML(String secureTag,
boolean secureTagContents,
String recipientKeyAlias,
String xmlCipherAlgorithm,
String keyCipherAlgorithm,
org.apache.camel.support.jsse.KeyStoreParameters keyOrTrustStoreParameters)
Uses the XML Security data format
|
T |
secureXML(String secureTag,
boolean secureTagContents,
String recipientKeyAlias,
String xmlCipherAlgorithm,
String keyCipherAlgorithm,
org.apache.camel.support.jsse.KeyStoreParameters keyOrTrustStoreParameters,
String keyPassword)
Uses the XML Security data format
|
T |
secureXML(String secureTag,
boolean secureTagContents,
String recipientKeyAlias,
String xmlCipherAlgorithm,
String keyCipherAlgorithm,
String keyOrTrustStoreParametersId)
Uses the XML Security data format
|
T |
secureXML(String secureTag,
boolean secureTagContents,
String recipientKeyAlias,
String xmlCipherAlgorithm,
String keyCipherAlgorithm,
String keyOrTrustStoreParametersId,
String keyPassword)
Uses the XML Security data format
|
T |
secureXML(String secureTag,
Map<String,String> namespaces,
boolean secureTagContents)
Uses the XML Security data format
|
T |
secureXML(String secureTag,
Map<String,String> namespaces,
boolean secureTagContents,
byte[] passPhraseByte)
Uses the XML Security data format
|
T |
secureXML(String secureTag,
Map<String,String> namespaces,
boolean secureTagContents,
byte[] passPhraseByte,
String xmlCipherAlgorithm)
Uses the XML Security data format
|
T |
secureXML(String secureTag,
Map<String,String> namespaces,
boolean secureTagContents,
String passPhrase)
Uses the XML Security data format
|
T |
secureXML(String secureTag,
Map<String,String> namespaces,
boolean secureTagContents,
String passPhrase,
String xmlCipherAlgorithm)
Uses the XML Security data format
|
T |
secureXML(String secureTag,
Map<String,String> namespaces,
boolean secureTagContents,
String recipientKeyAlias,
String xmlCipherAlgorithm,
String keyCipherAlgorithm,
org.apache.camel.support.jsse.KeyStoreParameters keyOrTrustStoreParameters)
Uses the XML Security data format
|
T |
secureXML(String secureTag,
Map<String,String> namespaces,
boolean secureTagContents,
String recipientKeyAlias,
String xmlCipherAlgorithm,
String keyCipherAlgorithm,
org.apache.camel.support.jsse.KeyStoreParameters keyOrTrustStoreParameters,
String keyPassword)
Uses the XML Security data format
|
T |
secureXML(String secureTag,
Map<String,String> namespaces,
boolean secureTagContents,
String recipientKeyAlias,
String xmlCipherAlgorithm,
String keyCipherAlgorithm,
org.apache.camel.support.jsse.KeyStoreParameters keyOrTrustStoreParameters,
String keyPassword,
String digestAlgorithm)
Uses the XML Security data format
|
T |
secureXML(String secureTag,
Map<String,String> namespaces,
boolean secureTagContents,
String recipientKeyAlias,
String xmlCipherAlgorithm,
String keyCipherAlgorithm,
String keyOrTrustStoreParametersId)
Uses the XML Security data format
|
T |
secureXML(String secureTag,
Map<String,String> namespaces,
boolean secureTagContents,
String recipientKeyAlias,
String xmlCipherAlgorithm,
String keyCipherAlgorithm,
String keyOrTrustStoreParametersId,
String keyPassword)
Uses the XML Security data format
|
T |
soapjaxb()
Uses the Soap 1.1 JAXB data format
|
T |
soapjaxb(String contextPath)
Uses the Soap 1.1 JAXB data format
|
T |
soapjaxb(String contextPath,
Object elementNameStrategy)
Uses the Soap 1.1 JAXB data format
|
T |
soapjaxb(String contextPath,
String elementNameStrategyRef)
Uses the Soap 1.1 JAXB data format
|
T |
soapjaxb12()
Uses the Soap 1.2 JAXB data format
|
T |
soapjaxb12(String contextPath)
Uses the Soap 1.2 JAXB data format
|
T |
soapjaxb12(String contextPath,
Object elementNameStrategy)
Uses the Soap JAXB data format
|
T |
soapjaxb12(String contextPath,
String elementNameStrategyRef)
Uses the Soap 1.2 JAXB data format
|
T |
syslog()
Uses the Syslog data format
|
T |
tarFile()
Uses the Tar file data format
|
T |
thrift()
Uses the Thrift data format
|
T |
thrift(Object defaultInstance) |
T |
thrift(Object defaultInstance,
String contentTypeFormat) |
T |
thrift(String instanceClassName) |
T |
thrift(String instanceClassName,
String contentTypeFormat) |
T |
tidyMarkup()
Return TidyMarkup in the default format as
Node |
T |
tidyMarkup(Class<?> dataObjectType)
|
T |
xstream()
Uses the XStream data format.
|
T |
xstream(Class<?> type)
Uses the xstream by permitting the java type
|
T |
xstream(String encodingOrPermission)
Uses the xstream by setting the encoding or permission
|
T |
xstream(String encoding,
Class<?>... type)
Uses the xstream by permitting the java type
|
T |
xstream(String encoding,
String permission)
Uses the xstream by setting the encoding
|
T |
yaml(YAMLLibrary library)
Uses the YAML data format
|
T |
yaml(YAMLLibrary library,
Class<?> type)
Uses the YAML data format
|
T |
zipDeflater()
Uses the ZIP deflater data format
|
T |
zipDeflater(int compressionLevel)
Uses the ZIP deflater data format
|
T |
zipFile()
Uses the ZIP file data format
|
public DataFormatClause(T processorType, DataFormatClause.Operation operation)
public T any23(String baseuri, Any23Type outputformat, Map<String,String> configurations, List<String> extractors)
public T base64(int lineLength, String lineSeparator, boolean urlSafe)
public T beanio(String mapping, String streamName, String encoding)
public T beanio(String mapping, String streamName, String encoding, boolean ignoreUnidentifiedRecords, boolean ignoreUnexpectedRecords, boolean ignoreInvalidRecords)
public T beanio(String mapping, String streamName, String encoding, String beanReaderErrorHandlerType)
public T bindy(BindyType type, Class<?> classType)
type
- the type of bindy data format to useclassType
- the POJO class typepublic T bindy(BindyType type, Class<?> classType, boolean unwrapSingleInstance)
type
- the type of bindy data format to useclassType
- the POJO class typeunwrapSingleInstance
- whether unmarshal should unwrap if there is a
single instance in the resultpublic T cbor(Class<?> unmarshalType)
unmarshalType
- unmarshal type for cbor typepublic T csvLazyLoad()
public T gzipDeflater()
public T mimeMultipart()
public T mimeMultipart(String multipartSubType)
multipartSubType
- Specifies the subtype of the MIME Multipartpublic T mimeMultipart(String multipartSubType, boolean multipartWithoutAttachment, boolean headersInline, boolean binaryContent)
multipartSubType
- the subtype of the MIME MultipartmultipartWithoutAttachment
- defines whether a message without
attachment is also marshaled into a MIME Multipart (with only
one body part).headersInline
- define the MIME Multipart headers as part of the
message body or as Camel headersbinaryContent
- have binary encoding for binary content (true) or
use Base-64 encoding for binary content (false)public T mimeMultipart(String multipartSubType, boolean multipartWithoutAttachment, boolean headersInline, String includeHeaders, boolean binaryContent)
multipartSubType
- the subtype of the MIME MultipartmultipartWithoutAttachment
- defines whether a message without
attachment is also marshaled into a MIME Multipart (with only
one body part).headersInline
- define the MIME Multipart headers as part of the
message body or as Camel headersincludeHeaders
- if headersInline is set to true all camel headers
matching this regex are also stored as MIME headers on the
MultipartbinaryContent
- have binary encoding for binary content (true) or
use Base-64 encoding for binary content (false)public T mimeMultipart(boolean multipartWithoutAttachment, boolean headersInline, boolean binaryContent)
multipartWithoutAttachment
- defines whether a message without
attachment is also marshaled into a MIME Multipart (with only
one body part).headersInline
- define the MIME Multipart headers as part of the
message body or as Camel headersbinaryContent
- have binary encoding for binary content (true) or
use Base-64 encoding for binary content (false)public T pgp(String keyFileName, String keyUserid, String password, boolean armored, boolean integrity)
public T jacksonxml()
public T jacksonxml(Class<?> unmarshalType)
unmarshalType
- unmarshal type for xml jackson typepublic T jacksonxml(Class<?> unmarshalType, Class<?> jsonView)
unmarshalType
- unmarshal type for xml jackson typejsonView
- the view type for xml jackson typepublic T jacksonxml(boolean prettyPrint)
prettyPrint
- turn pretty printing on or offpublic T jacksonxml(Class<?> unmarshalType, boolean prettyPrint)
unmarshalType
- unmarshal type for xml jackson typeprettyPrint
- turn pretty printing on or offpublic T jacksonxml(Class<?> unmarshalType, Class<?> jsonView, boolean prettyPrint)
unmarshalType
- unmarshal type for xml jackson typejsonView
- the view type for xml jackson typeprettyPrint
- turn pretty printing on or offpublic T jacksonxml(Class<?> unmarshalType, Class<?> jsonView, String include)
unmarshalType
- unmarshal type for xml jackson typejsonView
- the view type for xml jackson typeinclude
- include such as ALWAYS, NON_NULL, etc.public T jacksonxml(Class<?> unmarshalType, Class<?> jsonView, String include, boolean prettyPrint)
unmarshalType
- unmarshal type for xml jackson typejsonView
- the view type for xml jackson typeinclude
- include such as ALWAYS, NON_NULL, etc.prettyPrint
- turn pretty printing on or offpublic T json(boolean prettyPrint)
prettyPrint
- turn pretty printing on or offpublic T json(JsonLibrary library)
library
- the json library to usepublic T json(JsonLibrary library, boolean prettyPrint)
library
- the json library to useprettyPrint
- turn pretty printing on or offpublic T json(JsonLibrary type, Class<?> unmarshalType)
type
- the json type to useunmarshalType
- unmarshal type for json jackson typepublic T json(JsonLibrary type, Class<?> unmarshalType, boolean prettyPrint)
type
- the json type to useunmarshalType
- unmarshal type for json jackson typeprettyPrint
- turn pretty printing on or offpublic T json(Class<?> unmarshalType, Class<?> jsonView)
unmarshalType
- unmarshal type for json jackson typejsonView
- the view type for json jackson typepublic T json(Class<?> unmarshalType, Class<?> jsonView, boolean prettyPrint)
unmarshalType
- unmarshal type for json jackson typejsonView
- the view type for json jackson typeprettyPrint
- turn pretty printing on or offpublic T json(Class<?> unmarshalType, Class<?> jsonView, String include)
unmarshalType
- unmarshal type for json jackson typejsonView
- the view type for json jackson typeinclude
- include such as ALWAYS, NON_NULL, etc.public T json(Class<?> unmarshalType, Class<?> jsonView, String include, boolean prettyPrint)
unmarshalType
- unmarshal type for json jackson typejsonView
- the view type for json jackson typeinclude
- include such as ALWAYS, NON_NULL, etc.prettyPrint
- turn pretty printing on or offpublic T soapjaxb(String contextPath, String elementNameStrategyRef)
public T soapjaxb(String contextPath, Object elementNameStrategy)
public T soapjaxb12()
public T soapjaxb12(String contextPath)
public T soapjaxb12(String contextPath, String elementNameStrategyRef)
public T soapjaxb12(String contextPath, Object elementNameStrategy)
public T tidyMarkup(Class<?> dataObjectType)
public T tidyMarkup()
Node
public T xstream()
xstream(String)
to pass in a permissionpublic T xstream(String encodingOrPermission)
encodingOrPermission
- is either an encoding or permission syntaxpublic T xstream(String encoding, String permission)
public T xstream(Class<?> type)
type
- the pojo xstream should use as allowed permissionpublic T xstream(String encoding, Class<?>... type)
encoding
- encoding to usetype
- the pojo class(es) xstream should use as allowed permissionpublic T yaml(YAMLLibrary library)
library
- the yaml library to usepublic T yaml(YAMLLibrary library, Class<?> type)
library
- the yaml type to usetype
- the type for json snakeyaml typepublic T secureXML(String secureTag, boolean secureTagContents)
public T secureXML(String secureTag, Map<String,String> namespaces, boolean secureTagContents)
public T secureXML(String secureTag, boolean secureTagContents, String passPhrase)
public T secureXML(String secureTag, Map<String,String> namespaces, boolean secureTagContents, String passPhrase)
public T secureXML(String secureTag, boolean secureTagContents, String passPhrase, String xmlCipherAlgorithm)
public T secureXML(String secureTag, Map<String,String> namespaces, boolean secureTagContents, String passPhrase, String xmlCipherAlgorithm)
public T secureXML(String secureTag, boolean secureTagContents, byte[] passPhraseByte)
public T secureXML(String secureTag, Map<String,String> namespaces, boolean secureTagContents, byte[] passPhraseByte)
public T secureXML(String secureTag, boolean secureTagContents, byte[] passPhraseByte, String xmlCipherAlgorithm)
public T secureXML(String secureTag, Map<String,String> namespaces, boolean secureTagContents, byte[] passPhraseByte, String xmlCipherAlgorithm)
public T secureXML(String secureTag, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, String keyOrTrustStoreParametersId)
public T secureXML(String secureTag, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, String keyOrTrustStoreParametersId, String keyPassword)
public T secureXML(String secureTag, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, org.apache.camel.support.jsse.KeyStoreParameters keyOrTrustStoreParameters)
public T secureXML(String secureTag, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, org.apache.camel.support.jsse.KeyStoreParameters keyOrTrustStoreParameters, String keyPassword)
public T secureXML(String secureTag, Map<String,String> namespaces, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, String keyOrTrustStoreParametersId)
public T secureXML(String secureTag, Map<String,String> namespaces, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, String keyOrTrustStoreParametersId, String keyPassword)
public T secureXML(String secureTag, Map<String,String> namespaces, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, org.apache.camel.support.jsse.KeyStoreParameters keyOrTrustStoreParameters)
public T secureXML(String secureTag, Map<String,String> namespaces, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, org.apache.camel.support.jsse.KeyStoreParameters keyOrTrustStoreParameters, String keyPassword)
public T secureXML(String secureTag, Map<String,String> namespaces, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, org.apache.camel.support.jsse.KeyStoreParameters keyOrTrustStoreParameters, String keyPassword, String digestAlgorithm)
public T zipDeflater()
public T zipDeflater(int compressionLevel)
Apache Camel