org.apache.camel.builder
Class DataFormatClause<T extends ProcessorType>

java.lang.Object
  extended by org.apache.camel.builder.DataFormatClause<T>

public class DataFormatClause<T extends ProcessorType>
extends Object

An expression for constructing the different possible DataFormat options.

Version:
$Revision: 37863 $

Nested Class Summary
static class DataFormatClause.Operation
           
 
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 csv()
          Uses the CSV 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 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 xmlBeans()
          Uses the JAXB data format
 T xstream()
          Uses the XStream data format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataFormatClause

public DataFormatClause(T processorType,
                        DataFormatClause.Operation operation)
Method Detail

artixDS

public T artixDS()
Uses the Artix Data Services data format for dealing with lots of different message formats such as SWIFT etc.


artixDS

public 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.


artixDS

public 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.


artixDS

public T artixDS(ArtixDSContentType contentType)
Uses the Artix Data Services data format with the specified content type for marshalling and unmarshalling messages


csv

public T csv()
Uses the CSV data format


jaxb

public T jaxb()
Uses the JAXB data format


jaxb

public T jaxb(boolean prettyPrint)
Uses the JAXB data format turning pretty printing on or off


serialization

public T serialization()
Uses the Java Serialization data format


string

public T string()
Uses the String data format


string

public T string(String charset)
Uses the String data format supporting encoding using given charset


xmlBeans

public T xmlBeans()
Uses the JAXB data format


xstream

public T xstream()
Uses the XStream data format



Copyright © 2008 IONA Open Source Community. All Rights Reserved.