Class R4BToR5Loader
java.lang.Object
org.hl7.fhir.convertors.loaders.loaderR5.BaseLoaderR5
org.hl7.fhir.convertors.loaders.loaderR5.R4BToR5Loader
- All Implemented Interfaces:
org.hl7.fhir.r5.context.IWorkerContext.IContextResourceLoader
public class R4BToR5Loader
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
ConstructorsConstructorDescriptionR4BToR5Loader(String[] types, ILoaderKnowledgeProviderR5 lkp, String version) -
Method Summary
Modifier and TypeMethodDescriptionorg.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, setPathMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hl7.fhir.r5.context.IWorkerContext.IContextResourceLoader
getNewLoader, getResourcePath, getTypes
-
Constructor Details
-
R4BToR5Loader
-
-
Method Details
-
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
-