org.apache.camel.artix.ds
Class SwiftFormat

java.lang.Object
  extended by org.apache.camel.artix.ds.SwiftFormat
All Implemented Interfaces:
DataFormat

public class SwiftFormat
extends Object
implements DataFormat

A DataFormat using SWIFT with Artix Data Services

Version:
$Revision: 1.1 $

Constructor Summary
SwiftFormat()
           
SwiftFormat(biz.c24.io.api.presentation.swift.SwiftPreParser swiftParser)
           
SwiftFormat(biz.c24.io.api.presentation.swift.SwiftPreParser swiftParser, biz.c24.io.api.presentation.Sink sink)
           
 
Method Summary
protected  biz.c24.io.api.presentation.Sink createDefaultSink()
           
protected  biz.c24.io.api.presentation.Sink createSink(ArtixDSContentType content)
           
 ArtixDSContentType getContentType()
           
 biz.c24.io.api.presentation.Sink getSink(Exchange exchange)
           
 void marshal(Exchange exchange, Object graph, OutputStream stream)
           
 void setContentType(ArtixDSContentType contentType)
           
 void setSink(biz.c24.io.api.presentation.Sink sink)
           
 Object unmarshal(Exchange exchange, InputStream stream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwiftFormat

public SwiftFormat()

SwiftFormat

public SwiftFormat(biz.c24.io.api.presentation.swift.SwiftPreParser swiftParser)

SwiftFormat

public SwiftFormat(biz.c24.io.api.presentation.swift.SwiftPreParser swiftParser,
                   biz.c24.io.api.presentation.Sink sink)
Method Detail

marshal

public void marshal(Exchange exchange,
                    Object graph,
                    OutputStream stream)
             throws Exception
Specified by:
marshal in interface DataFormat
Throws:
Exception

unmarshal

public Object unmarshal(Exchange exchange,
                        InputStream stream)
                 throws IOException
Specified by:
unmarshal in interface DataFormat
Throws:
IOException

getSink

public biz.c24.io.api.presentation.Sink getSink(Exchange exchange)

setSink

public void setSink(biz.c24.io.api.presentation.Sink sink)

getContentType

public ArtixDSContentType getContentType()

setContentType

public void setContentType(ArtixDSContentType contentType)

createSink

protected biz.c24.io.api.presentation.Sink createSink(ArtixDSContentType content)

createDefaultSink

protected biz.c24.io.api.presentation.Sink createDefaultSink()


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