public class C24IOSource<T extends C24IOSource>
extends java.lang.Object
implements org.apache.camel.Processor
| Constructor and Description |
|---|
C24IOSource() |
C24IOSource(biz.c24.io.api.data.Element element) |
| Modifier and Type | Method and Description |
|---|---|
T |
binarySource()
Sets the source parser to XML
|
static C24IOSource |
c24Source(java.lang.Class<?> elementType) |
static C24IOSource |
c24Source(biz.c24.io.api.data.Element element) |
static C24IOSource |
c24Source(java.lang.String modelClassName) |
static biz.c24.io.api.data.Element |
element(java.lang.Class<?> elementType) |
static biz.c24.io.api.data.Element |
element(java.lang.String modelClassName) |
biz.c24.io.api.data.Element |
getElement() |
biz.c24.io.api.presentation.Source |
getSource() |
T |
javaSource()
Sets the source parser to XML
|
protected biz.c24.io.api.data.ComplexDataObject |
parseDataObject(org.apache.camel.Exchange exchange) |
void |
process(org.apache.camel.Exchange exchange) |
T |
saxSource()
Sets the source parser to SAX
|
void |
setSource(biz.c24.io.api.presentation.Source source) |
T |
textSource()
Sets the source parser to text
|
T |
xmlSource()
Sets the source parser to XML
|
public C24IOSource()
public C24IOSource(biz.c24.io.api.data.Element element)
public static C24IOSource c24Source(java.lang.String modelClassName)
public static C24IOSource c24Source(java.lang.Class<?> elementType)
public static C24IOSource c24Source(biz.c24.io.api.data.Element element)
public void process(org.apache.camel.Exchange exchange)
throws java.lang.Exception
process in interface org.apache.camel.Processorjava.lang.Exceptionprotected biz.c24.io.api.data.ComplexDataObject parseDataObject(org.apache.camel.Exchange exchange)
throws org.apache.camel.InvalidPayloadException,
java.io.IOException
org.apache.camel.InvalidPayloadExceptionjava.io.IOExceptionpublic static biz.c24.io.api.data.Element element(java.lang.String modelClassName)
public static biz.c24.io.api.data.Element element(java.lang.Class<?> elementType)
public biz.c24.io.api.data.Element getElement()
public biz.c24.io.api.presentation.Source getSource()
public void setSource(biz.c24.io.api.presentation.Source source)
public T textSource()
public T xmlSource()
public T saxSource()
public T binarySource()
public T javaSource()
Copyright © 2014 Red Hat. All Rights Reserved.