Package org.apache.camel.component.fhir
Class FhirJsonDataFormat
java.lang.Object
org.apache.camel.support.service.BaseService
org.apache.camel.support.service.ServiceSupport
org.apache.camel.component.fhir.FhirDataFormat
org.apache.camel.component.fhir.FhirJsonDataFormat
- All Implemented Interfaces:
AutoCloseable,org.apache.camel.CamelContextAware,org.apache.camel.Service,org.apache.camel.ShutdownableService,org.apache.camel.spi.DataFormat,org.apache.camel.spi.DataFormatContentTypeHeader,org.apache.camel.spi.DataFormatName,org.apache.camel.spi.HasCamelContext,org.apache.camel.StatefulService,org.apache.camel.SuspendableService
-
Field Summary
Fields inherited from class org.apache.camel.support.service.BaseService
BUILT, FAILED, INITIALIZED, INITIALIZING, lock, NEW, SHUTDOWN, SHUTTING_DOWN, STARTED, STARTING, status, STOPPED, STOPPING, SUSPENDED, SUSPENDING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidmarshal(org.apache.camel.Exchange exchange, Object o, OutputStream outputStream) unmarshal(org.apache.camel.Exchange exchange, InputStream inputStream) Methods inherited from class org.apache.camel.component.fhir.FhirDataFormat
configureParser, doBuild, doStart, doStop, getCamelContext, getDontEncodeElements, getDontStripVersionsFromReferencesAtPaths, getEncodeElements, getFhirContext, getFhirVersion, getForceResourceId, getOverrideResourceIdWithBundleEntryFullUrl, getParserErrorHandler, getParserOptions, getPreferTypes, getPreferTypesNames, getServerBaseUrl, getStripVersionsFromReferences, isContentTypeHeader, isEncodeElementsAppliesToChildResourcesOnly, isOmitResourceId, isPrettyPrint, isSummaryMode, isSuppressNarratives, setCamelContext, setContentTypeHeader, setDontEncodeElements, setDontStripVersionsFromReferencesAtPaths, setEncodeElements, setEncodeElementsAppliesToChildResourcesOnly, setFhirContext, setFhirVersion, setForceResourceId, setOmitResourceId, setOverrideResourceIdWithBundleEntryFullUrl, setParserErrorHandler, setParserOptions, setPreferTypes, setPreferTypesNames, setPrettyPrint, setServerBaseUrl, setStripVersionsFromReferences, setSummaryMode, setSuppressNarrativesMethods inherited from class org.apache.camel.support.service.BaseService
build, 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, suspendMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.camel.spi.DataFormat
unmarshalMethods inherited from interface org.apache.camel.Service
build, close, init, start, stopMethods inherited from interface org.apache.camel.ShutdownableService
shutdownMethods inherited from interface org.apache.camel.StatefulService
getStatus, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspendingMethods inherited from interface org.apache.camel.SuspendableService
isSuspended, resume, suspend
-
Constructor Details
-
FhirJsonDataFormat
public FhirJsonDataFormat()
-
-
Method Details
-
marshal
public void marshal(org.apache.camel.Exchange exchange, Object o, OutputStream outputStream) throws Exception - Throws:
Exception
-
unmarshal
public Object unmarshal(org.apache.camel.Exchange exchange, InputStream inputStream) throws Exception - Throws:
Exception
-
getDataFormatName
-