public abstract class BindyAbstractDataFormat
extends org.apache.camel.support.service.ServiceSupport
implements org.apache.camel.spi.DataFormat, org.apache.camel.spi.DataFormatName, org.apache.camel.CamelContextAware
| Modifier | Constructor and Description |
|---|---|
|
BindyAbstractDataFormat() |
protected |
BindyAbstractDataFormat(Class<?> classType) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Object> |
createLinkedFieldsModel(Object model) |
protected void |
createLinkedFieldsModel(Object model,
Map<String,Object> row) |
protected abstract BindyAbstractFactory |
createModelFactory(FormatFactory formatFactory) |
protected void |
doStart() |
protected void |
doStop() |
protected Object |
extractUnmarshalResult(List<Map<String,Object>> models) |
org.apache.camel.CamelContext |
getCamelContext() |
Class<?> |
getClassType() |
BindyAbstractFactory |
getFactory() |
String |
getLocale() |
boolean |
isAllowEmptyStream() |
boolean |
isUnwrapSingleInstance() |
void |
setAllowEmptyStream(boolean allowEmptyStream) |
void |
setCamelContext(org.apache.camel.CamelContext camelContext) |
void |
setClassType(Class<?> classType) |
void |
setLocale(String locale) |
void |
setModelFactory(BindyAbstractFactory modelFactory) |
void |
setUnwrapSingleInstance(boolean unwrapSingleInstance) |
build, doBuild, doFail, doInit, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic BindyAbstractDataFormat()
protected BindyAbstractDataFormat(Class<?> classType)
public Class<?> getClassType()
public void setClassType(Class<?> classType)
public String getLocale()
public void setLocale(String locale)
public boolean isUnwrapSingleInstance()
public void setUnwrapSingleInstance(boolean unwrapSingleInstance)
public boolean isAllowEmptyStream()
public void setAllowEmptyStream(boolean allowEmptyStream)
public BindyAbstractFactory getFactory() throws Exception
Exceptionpublic void setModelFactory(BindyAbstractFactory modelFactory)
protected void createLinkedFieldsModel(Object model, Map<String,Object> row)
protected abstract BindyAbstractFactory createModelFactory(FormatFactory formatFactory) throws Exception
Exceptionprotected void doStart()
throws Exception
doStart in class org.apache.camel.support.service.BaseServiceExceptionprotected void doStop()
throws Exception
doStop in class org.apache.camel.support.service.BaseServiceExceptionpublic org.apache.camel.CamelContext getCamelContext()
getCamelContext in interface org.apache.camel.CamelContextAwarepublic void setCamelContext(org.apache.camel.CamelContext camelContext)
setCamelContext in interface org.apache.camel.CamelContextAwareApache Camel