|
||||||||||
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 |
artixDS()
Uses the Artix Data Services data format for dealing with lots of different message formats such as SWIFT etc. |
T |
artixDS(ArtixDSContentType contentType)
Uses the Artix Data Services data format with the specified content type for marshalling and unmarshalling messages |
T |
artixDS(Class<?> dataObjectType)
Uses the Artix Data Services data format with the specified type of ComplexDataObject for marshalling and unmarshalling messages using the dataObject's default Source and Sink. |
T |
artixDS(Class<?> elementType,
ArtixDSContentType contentType)
Uses the Artix Data Services data format with the specified type of ComplexDataObject for marshalling and unmarshalling messages using the dataObject's default Source and Sink. |
T |
bindy(BindyType type,
String... packages)
Uses the Bindy data format |
T |
csv()
Uses the CSV data format |
T |
gzip()
Uses the GZIP deflater data format |
T |
hl7()
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 |
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 |
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 |
serialization()
Uses the Java Serialization data format |
T |
string()
Uses the String data format |
T |
string(String charset)
Uses the String data format supporting encoding using given charset |
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 JAXB data format |
T |
xstream()
Uses the XStream data format |
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 artixDS()
public T artixDS(Class<?> dataObjectType)
public T artixDS(Class<?> elementType, ArtixDSContentType contentType)
public T artixDS(ArtixDSContentType contentType)
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 csv()
public T hl7()
public T jaxb()
public T jaxb(boolean prettyPrint)
public T rss()
public T serialization()
public T string()
public T string(String charset)
public T xmlBeans()
public T tidyMarkup(Class<?> dataObjectType)
String
or Node
public T tidyMarkup()
Node
public T xstream()
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 secureXML()
public T secureXML(String secureTag, boolean secureTagContents)
public T secureXML(String secureTag, boolean secureTagContents, String passPhrase)
public T secureXML(String secureTag, boolean secureTagContents, String passPhrase, String xmlCipherAlgorithm)
public T zip()
public T zip(int compressionLevel)
public T gzip()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |