@Dataformat(value="any23")
public class Any23DataFormat
extends org.apache.camel.support.service.ServiceSupport
implements org.apache.camel.spi.DataFormat, org.apache.camel.spi.DataFormatName
| Constructor and Description |
|---|
Any23DataFormat() |
Any23DataFormat(Any23OutputFormat outputFormat,
String baseURI) |
Any23DataFormat(Map<String,String> configurations,
Any23OutputFormat outputFormat,
String baseURI) |
Any23DataFormat(Map<String,String> configurations,
List<String> extractors,
Any23OutputFormat outputFormat,
String baseURI) |
Any23DataFormat(String baseURI) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doInit() |
protected void |
doStop() |
org.apache.any23.Any23 |
getAny23() |
String |
getBaseURI() |
Map<String,String> |
getConfigurations() |
String |
getDataFormatName() |
List<String> |
getExtractors() |
Any23OutputFormat |
getOutputFormat() |
void |
marshal(org.apache.camel.Exchange exchange,
Object object,
OutputStream outputStream)
Marshal data.
|
Any23DataFormat |
setAny23(org.apache.any23.Any23 any23) |
Any23DataFormat |
setBaseURI(String baseURI) |
Any23DataFormat |
setConfigurations(Map<String,String> configurations) |
Any23DataFormat |
setExtractors(List<String> extractors) |
Any23DataFormat |
setOutputFormat(Any23OutputFormat outputFormat) |
Object |
unmarshal(org.apache.camel.Exchange exchange,
InputStream inputStream)
Unmarshal the data
|
build, doBuild, doFail, doLifecycleChange, doResume, doShutdown, doStart, 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 Any23DataFormat()
public Any23DataFormat(String baseURI)
public Any23DataFormat(Any23OutputFormat outputFormat, String baseURI)
public Any23DataFormat(Map<String,String> configurations, Any23OutputFormat outputFormat, String baseURI)
public String getDataFormatName()
getDataFormatName in interface org.apache.camel.spi.DataFormatNamepublic void marshal(org.apache.camel.Exchange exchange,
Object object,
OutputStream outputStream)
throws Exception
marshal in interface org.apache.camel.spi.DataFormatExceptionpublic Object unmarshal(org.apache.camel.Exchange exchange, InputStream inputStream) throws Exception
unmarshal in interface org.apache.camel.spi.DataFormatExceptionprotected void doInit()
throws Exception
doInit in class org.apache.camel.support.service.BaseServiceExceptionprotected void doStop()
throws Exception
doStop in class org.apache.camel.support.service.BaseServiceExceptionpublic org.apache.any23.Any23 getAny23()
public Any23DataFormat setAny23(org.apache.any23.Any23 any23)
public Any23DataFormat setConfigurations(Map<String,String> configurations)
public Any23DataFormat setExtractors(List<String> extractors)
public Any23OutputFormat getOutputFormat()
public Any23DataFormat setOutputFormat(Any23OutputFormat outputFormat)
public String getBaseURI()
public Any23DataFormat setBaseURI(String baseURI)
Apache Camel