org.fusesource.fabric.camel.c24io
Class C24IOConverter

java.lang.Object
  extended by org.fusesource.fabric.camel.c24io.C24IOConverter

@Converter
public final class C24IOConverter
extends java.lang.Object

Helper converters for C24 IO

Version:
$Revision$

Method Summary
static biz.c24.io.api.data.saxon.DocumentNode toDocumentNode(biz.c24.io.api.data.ComplexDataObject dataObject, org.apache.camel.Exchange exchange)
          Converts a data object into a Saxon document info so that it can be used in Saxon's XQuery processor
static biz.c24.io.api.data.saxon.DocumentNode toDocumentNode(net.sf.saxon.Configuration config, biz.c24.io.api.data.ComplexDataObject dataObject)
          Converts a data object into a Saxon document info so that it can be used in Saxon's XQuery processor
static C24IOTransform toProcessor(biz.c24.io.api.transform.Transform transformer)
          A converter to provide a Processor for invoking the given C24IO transformation class
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

toProcessor

@Converter
public static C24IOTransform toProcessor(biz.c24.io.api.transform.Transform transformer)
A converter to provide a Processor for invoking the given C24IO transformation class

Returns:
a Processor capable of performing the transformation on a Message Exchange

toDocumentNode

@Converter
public static biz.c24.io.api.data.saxon.DocumentNode toDocumentNode(biz.c24.io.api.data.ComplexDataObject dataObject,
                                                                              org.apache.camel.Exchange exchange)
Converts a data object into a Saxon document info so that it can be used in Saxon's XQuery processor


toDocumentNode

public static biz.c24.io.api.data.saxon.DocumentNode toDocumentNode(net.sf.saxon.Configuration config,
                                                                    biz.c24.io.api.data.ComplexDataObject dataObject)
Converts a data object into a Saxon document info so that it can be used in Saxon's XQuery processor



Copyright © 2013 Red Hat. All Rights Reserved.