|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.fusesource.fabric.camel.c24io.C24IOSource
org.fusesource.fabric.camel.c24io.C24IOSink
public class C24IOSink
Transforms an C24 data object into some output format
| Constructor Summary | |
|---|---|
C24IOSink()
|
|
C24IOSink(biz.c24.io.api.presentation.Sink sink)
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class org.fusesource.fabric.camel.c24io.C24IOSource |
|---|
binarySource, c24Source, c24Source, c24Source, element, element, getElement, getSource, javaSource, parseDataObject, saxSource, setSource, textSource, xmlSource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public C24IOSink()
public C24IOSink(biz.c24.io.api.presentation.Sink sink)
| Method Detail |
|---|
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.InvalidPayloadException
java.io.IOException
protected 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.ValidationException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||