public class C24IOSink extends C24IOSource
| Constructor and Description |
|---|
C24IOSink() |
C24IOSink(biz.c24.io.api.presentation.Sink sink) |
| Modifier and Type | Method and Description |
|---|---|
C24IOSink |
binary()
Sets the output sink to be binary
|
static C24IOSink |
c24Sink() |
static C24IOSink |
c24Sink(biz.c24.io.api.presentation.Sink sink) |
biz.c24.io.api.presentation.Sink |
getSink() |
C24IOSink |
java()
Sets the output sink to be Java
|
void |
process(org.apache.camel.Exchange exchange) |
C24IOSink |
sax()
Sets the output sink to be SAX
|
void |
setSink(biz.c24.io.api.presentation.Sink sink) |
C24IOSink |
tagValuePair()
Sets the output sink to be tag value pair
|
C24IOSink |
text()
Sets the output sink to be text
|
protected biz.c24.io.api.data.ComplexDataObject |
transformDataObject(org.apache.camel.Exchange exchange,
biz.c24.io.api.data.ComplexDataObject dataObject) |
protected biz.c24.io.api.data.ComplexDataObject |
unmarshalDataObject(org.apache.camel.Exchange exchange) |
C24IOSink |
xml()
Sets the output sink to be XML
|
binarySource, c24Source, c24Source, c24Source, element, element, getElement, getSource, javaSource, parseDataObject, saxSource, setSource, textSource, xmlSourcepublic C24IOSink()
public C24IOSink(biz.c24.io.api.presentation.Sink sink)
public static C24IOSink c24Sink()
public static C24IOSink c24Sink(biz.c24.io.api.presentation.Sink sink)
public void process(org.apache.camel.Exchange exchange)
throws java.lang.Exception
process in interface org.apache.camel.Processorprocess in class C24IOSourcejava.lang.Exceptionpublic biz.c24.io.api.presentation.Sink getSink()
public void setSink(biz.c24.io.api.presentation.Sink sink)
public C24IOSink text()
public C24IOSink binary()
public C24IOSink xml()
public C24IOSink sax()
public C24IOSink tagValuePair()
public C24IOSink java()
protected biz.c24.io.api.data.ComplexDataObject unmarshalDataObject(org.apache.camel.Exchange exchange)
throws org.apache.camel.InvalidPayloadException,
java.io.IOException
org.apache.camel.InvalidPayloadExceptionjava.io.IOExceptionprotected biz.c24.io.api.data.ComplexDataObject transformDataObject(org.apache.camel.Exchange exchange,
biz.c24.io.api.data.ComplexDataObject dataObject)
throws biz.c24.io.api.data.ValidationException
biz.c24.io.api.data.ValidationExceptionCopyright © 2014 Red Hat. All Rights Reserved.