|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.camel.builder.DataFormatClause<T>
public class DataFormatClause<T extends ProcessorDefinition<?>>
An expression for constructing the different possible DataFormat
options.
Nested Class Summary | |
---|---|
static class |
DataFormatClause.Operation
DataFormat operations. |
Constructor Summary | |
---|---|
DataFormatClause(T processorType,
DataFormatClause.Operation operation)
|
Method Summary | |
---|---|
T |
avro()
Uses the Avro data format |
T |
avro(Object schema)
|
T |
avro(String instanceClassName)
|
T |
bindy(BindyType type,
Class<?> classType)
Uses the Bindy data format |
T |
bindy(BindyType type,
String... packages)
Uses the Bindy data format |
T |
castor()
Uses the Castor data format |
T |
castor(String mappingFile)
Uses the Castor data format |
T |
castor(String mappingFile,
boolean validation)
Uses the Castor data format |
T |
csv()
Uses the CSV data format |
T |
custom(String ref)
Uses the custom data format |
T |
gzip()
Uses the GZIP deflater data format |
T |
hl7()
Uses the HL7 data format |
T |
hl7(boolean validate)
Uses the HL7 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 |
jibx()
Uses the JiBX data format. |
T |
jibx(Class<?> unmarshallClass)
Uses the JiBX data format with unmarshall class. |
T |
json()
Uses the JSON data format using the XStream json library |
T |
json(JsonLibrary library)
Uses the JSON data format |
T |
json(JsonLibrary type,
Class<?> unmarshalType)
Uses the JSON 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(String instanceClassName)
|
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,
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)
Deprecated. |
T |
secureXML(String secureTag,
boolean secureTagContents,
String recipientKeyAlias,
String xmlCipherAlgorithm,
String keyCipherAlgorithm,
KeyStoreParameters keyOrTrustStoreParameters)
Uses the XML Security data format |
T |
secureXML(String secureTag,
boolean secureTagContents,
String recipientKeyAlias,
String xmlCipherAlgorithm,
String keyCipherAlgorithm,
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,
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,
KeyStoreParameters keyOrTrustStoreParameters)
Uses the XML Security data format |
T |
secureXML(String secureTag,
Map<String,String> namespaces,
boolean secureTagContents,
String recipientKeyAlias,
String xmlCipherAlgorithm,
String keyCipherAlgorithm,
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,
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 |
serialization()
Uses the Java Serialization 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 |
string()
Uses the String data format |
T |
string(String charset)
Uses the String data format supporting encoding using given charset |
T |
syslog()
Uses the Syslog data format |
T |
tidyMarkup()
Return TidyMarkup in the default format as Node |
T |
tidyMarkup(Class<?> dataObjectType)
Return WellFormed HTML (an XML Document) either String or Node |
T |
xmlBeans()
Uses the xmlBeans data format |
T |
xmljson()
Uses the xmljson dataformat, based on json-lib |
T |
xmljson(Map<String,String> options)
Uses the xmljson dataformat, based on json-lib, initializing custom options with a Map |
T |
xstream()
Uses the XStream data format |
T |
xstream(String encoding)
Uses the xstream by setting the encoding |
T |
zip()
Uses the ZIP deflater data format |
T |
zip(int compressionLevel)
Uses the ZIP deflater data format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataFormatClause(T processorType, DataFormatClause.Operation operation)
Method Detail |
---|
public T avro()
public T avro(Object schema)
public T avro(String instanceClassName)
public T bindy(BindyType type, String... packages)
type
- the type of bindy data format to usepackages
- packages to scan for Bindy annotated POJO classespublic T bindy(BindyType type, Class<?> classType)
type
- the type of bindy data format to useclassType
- the POJO class typepublic T csv()
public T custom(String ref)
public T castor()
public T castor(String mappingFile)
mappingFile
- name of mapping file to locate in classpathpublic T castor(String mappingFile, boolean validation)
mappingFile
- name of mapping file to locate in classpathvalidation
- whether validation is enabled or notpublic T gzip()
public T hl7()
public T hl7(boolean validate)
public T pgp(String keyFileName, String keyUserid)
public T pgp(String keyFileName, String keyUserid, String password)
public T pgp(String keyFileName, String keyUserid, String password, boolean armored, boolean integrity)
public T jaxb()
public T jaxb(String contextPath)
public T jaxb(boolean prettyPrint)
public T jibx()
public T jibx(Class<?> unmarshallClass)
public T json()
public T json(JsonLibrary library)
library
- the json library to usepublic T json(JsonLibrary type, Class<?> unmarshalType)
type
- the json type to useunmarshalType
- unmarshal type for json jackson typepublic T protobuf()
public T protobuf(Object defaultInstance)
public T protobuf(String instanceClassName)
public T rss()
public T serialization()
public T soapjaxb()
public T soapjaxb(String contextPath)
public 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 string()
public T string(String charset)
public T syslog()
public T tidyMarkup(Class<?> dataObjectType)
String
or Node
public T tidyMarkup()
Node
public T xstream()
public T xstream(String encoding)
public T secureXML()
public 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)
@Deprecated public T secureXML(String secureTag, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm)
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, KeyStoreParameters keyOrTrustStoreParameters)
public T secureXML(String secureTag, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, 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, KeyStoreParameters keyOrTrustStoreParameters)
public T secureXML(String secureTag, Map<String,String> namespaces, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, KeyStoreParameters keyOrTrustStoreParameters, String keyPassword)
public T xmlBeans()
public T xmljson()
public T xmljson(Map<String,String> options)
public T zip()
public T zip(int compressionLevel)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |