Class R2ToR5Loader
- java.lang.Object
-
- org.hl7.fhir.convertors.loaders.loaderR5.BaseLoaderR5
-
- org.hl7.fhir.convertors.loaders.loaderR5.R2ToR5Loader
-
- All Implemented Interfaces:
org.hl7.fhir.r5.context.IWorkerContext.IContextResourceLoader
public class R2ToR5Loader extends BaseLoaderR5 implements org.hl7.fhir.r5.context.IWorkerContext.IContextResourceLoader
-
-
Field Summary
-
Fields inherited from class org.hl7.fhir.convertors.loaders.loaderR5.BaseLoaderR5
killPrimitives, lkp, patchUrls, types, URL_BASE, URL_DSTU2, URL_DSTU2016MAY, URL_DSTU3, URL_ELEMENT_DEF_NAMESPACE, URL_R4
-
-
Constructor Summary
Constructors Constructor Description R2ToR5Loader(String[] types, ILoaderKnowledgeProviderR5 lkp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.hl7.fhir.r5.model.BundleloadBundle(InputStream stream, boolean isJson)org.hl7.fhir.r5.model.ResourceloadResource(InputStream stream, boolean isJson)-
Methods inherited from class org.hl7.fhir.convertors.loaders.loaderR5.BaseLoaderR5
getNewLoader, getResourcePath, loaderFactory, setPath
-
-
-
-
Constructor Detail
-
R2ToR5Loader
public R2ToR5Loader(String[] types, ILoaderKnowledgeProviderR5 lkp)
-
-
Method Detail
-
loadBundle
public org.hl7.fhir.r5.model.Bundle loadBundle(InputStream stream, boolean isJson) throws org.hl7.fhir.exceptions.FHIRException, IOException
- Specified by:
loadBundlein interfaceorg.hl7.fhir.r5.context.IWorkerContext.IContextResourceLoader- Throws:
org.hl7.fhir.exceptions.FHIRExceptionIOException
-
loadResource
public org.hl7.fhir.r5.model.Resource loadResource(InputStream stream, boolean isJson) throws org.hl7.fhir.exceptions.FHIRException, IOException
- Specified by:
loadResourcein interfaceorg.hl7.fhir.r5.context.IWorkerContext.IContextResourceLoader- Throws:
org.hl7.fhir.exceptions.FHIRExceptionIOException
-
-