Class BaseLoaderR5
- java.lang.Object
-
- org.hl7.fhir.convertors.loaders.loaderR5.BaseLoaderR5
-
- All Implemented Interfaces:
org.hl7.fhir.r5.context.IWorkerContext.IContextResourceLoader
- Direct Known Subclasses:
R2016MayToR5Loader,R2ToR5Loader,R3ToR5Loader,R4BToR5Loader,R4ToR5Loader,R5ToR5Loader
public abstract class BaseLoaderR5 extends Object implements org.hl7.fhir.r5.context.IWorkerContext.IContextResourceLoader
-
-
Field Summary
Fields Modifier and Type Field Description protected booleankillPrimitivesprotected ILoaderKnowledgeProviderR5lkpprotected booleanpatchUrlsprotected String[]typesprotected StringURL_BASEprotected StringURL_DSTU2protected StringURL_DSTU2016MAYprotected StringURL_DSTU3protected StringURL_ELEMENT_DEF_NAMESPACEprotected StringURL_R4
-
Constructor Summary
Constructors Constructor Description BaseLoaderR5(String[] types, ILoaderKnowledgeProviderR5 lkp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.hl7.fhir.r5.context.IWorkerContext.IContextResourceLoadergetNewLoader(org.hl7.fhir.utilities.npm.NpmPackage npm)StringgetResourcePath(org.hl7.fhir.r5.model.Resource resource)protected BaseLoaderR5loaderFactory(org.hl7.fhir.utilities.npm.NpmPackage npm)voidsetPath(org.hl7.fhir.r5.model.Resource r)
-
-
-
Field Detail
-
URL_BASE
protected final String URL_BASE
- See Also:
- Constant Field Values
-
URL_DSTU2
protected final String URL_DSTU2
- See Also:
- Constant Field Values
-
URL_DSTU2016MAY
protected final String URL_DSTU2016MAY
- See Also:
- Constant Field Values
-
URL_DSTU3
protected final String URL_DSTU3
- See Also:
- Constant Field Values
-
URL_R4
protected final String URL_R4
- See Also:
- Constant Field Values
-
URL_ELEMENT_DEF_NAMESPACE
protected final String URL_ELEMENT_DEF_NAMESPACE
- See Also:
- Constant Field Values
-
patchUrls
protected boolean patchUrls
-
killPrimitives
protected boolean killPrimitives
-
lkp
protected ILoaderKnowledgeProviderR5 lkp
-
-
Constructor Detail
-
BaseLoaderR5
public BaseLoaderR5(String[] types, ILoaderKnowledgeProviderR5 lkp)
-
-
Method Detail
-
getResourcePath
public String getResourcePath(org.hl7.fhir.r5.model.Resource resource)
- Specified by:
getResourcePathin interfaceorg.hl7.fhir.r5.context.IWorkerContext.IContextResourceLoader
-
setPath
public void setPath(org.hl7.fhir.r5.model.Resource r)
-
getNewLoader
public org.hl7.fhir.r5.context.IWorkerContext.IContextResourceLoader getNewLoader(org.hl7.fhir.utilities.npm.NpmPackage npm) throws com.google.gson.JsonSyntaxException, IOException
- Specified by:
getNewLoaderin interfaceorg.hl7.fhir.r5.context.IWorkerContext.IContextResourceLoader- Throws:
com.google.gson.JsonSyntaxExceptionIOException
-
loaderFactory
protected BaseLoaderR5 loaderFactory(org.hl7.fhir.utilities.npm.NpmPackage npm) throws com.google.gson.JsonSyntaxException, IOException
- Throws:
com.google.gson.JsonSyntaxExceptionIOException
-
-