public class XmlFhirDataFormat extends Object
Constructor and Description |
---|
XmlFhirDataFormat() |
Modifier and Type | Method and Description |
---|---|
protected Charset |
getCharset(org.apache.camel.Exchange exchange) |
protected ca.uhn.fhir.context.FhirContext |
getFhirContext(org.apache.camel.Exchange exchange) |
protected ca.uhn.fhir.parser.IParser |
getParser(ca.uhn.fhir.context.FhirContext context) |
void |
marshal(org.apache.camel.Exchange exchange,
Object body,
OutputStream stream) |
void |
setDefaultCharset(String charset) |
void |
setDefaultFhirContext(ca.uhn.fhir.context.FhirContext context) |
Object |
unmarshal(org.apache.camel.Exchange exchange,
InputStream stream) |
protected ca.uhn.fhir.parser.IParser getParser(ca.uhn.fhir.context.FhirContext context)
public void setDefaultFhirContext(ca.uhn.fhir.context.FhirContext context)
public void setDefaultCharset(String charset)
public void marshal(org.apache.camel.Exchange exchange, Object body, OutputStream stream) throws Exception
marshal
in interface org.apache.camel.spi.DataFormat
Exception
public Object unmarshal(org.apache.camel.Exchange exchange, InputStream stream) throws Exception
unmarshal
in interface org.apache.camel.spi.DataFormat
Exception
protected ca.uhn.fhir.context.FhirContext getFhirContext(org.apache.camel.Exchange exchange)
protected Charset getCharset(org.apache.camel.Exchange exchange)
Copyright © 2018 Open eHealth Foundation. All rights reserved.