
Package ca.uhn.fhir.jpa.validation
Class ValidatorResourceFetcher
java.lang.Object
ca.uhn.fhir.jpa.validation.ValidatorResourceFetcher
- All Implemented Interfaces:
org.hl7.fhir.r5.utils.validation.IValidatorResourceFetcher
public class ValidatorResourceFetcher
extends Object
implements org.hl7.fhir.r5.utils.validation.IValidatorResourceFetcher
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.hl7.fhir.r5.elementmodel.Element
fetch
(org.hl7.fhir.r5.utils.validation.IResourceValidator iResourceValidator, Object appContext, String theUrl) org.hl7.fhir.r5.model.CanonicalResource
fetchCanonicalResource
(org.hl7.fhir.r5.utils.validation.IResourceValidator iResourceValidator, String s) boolean
fetchesCanonicalResource
(org.hl7.fhir.r5.utils.validation.IResourceValidator iResourceValidator, String s) byte[]
boolean
resolveURL
(org.hl7.fhir.r5.utils.validation.IResourceValidator iResourceValidator, Object o, String s, String s1, String s2) org.hl7.fhir.r5.utils.validation.IValidatorResourceFetcher
void
start()
-
Constructor Details
-
ValidatorResourceFetcher
public ValidatorResourceFetcher()
-
-
Method Details
-
start
-
fetch
public org.hl7.fhir.r5.elementmodel.Element fetch(org.hl7.fhir.r5.utils.validation.IResourceValidator iResourceValidator, Object appContext, String theUrl) throws org.hl7.fhir.exceptions.FHIRFormatError, org.hl7.fhir.exceptions.DefinitionException, org.hl7.fhir.exceptions.FHIRException, IOException - Specified by:
fetch
in interfaceorg.hl7.fhir.r5.utils.validation.IValidatorResourceFetcher
- Throws:
org.hl7.fhir.exceptions.FHIRFormatError
org.hl7.fhir.exceptions.DefinitionException
org.hl7.fhir.exceptions.FHIRException
IOException
-
resolveURL
public boolean resolveURL(org.hl7.fhir.r5.utils.validation.IResourceValidator iResourceValidator, Object o, String s, String s1, String s2) throws IOException, org.hl7.fhir.exceptions.FHIRException - Specified by:
resolveURL
in interfaceorg.hl7.fhir.r5.utils.validation.IValidatorResourceFetcher
- Throws:
IOException
org.hl7.fhir.exceptions.FHIRException
-
fetchRaw
public byte[] fetchRaw(org.hl7.fhir.r5.utils.validation.IResourceValidator iResourceValidator, String s) throws MalformedURLException, IOException - Specified by:
fetchRaw
in interfaceorg.hl7.fhir.r5.utils.validation.IValidatorResourceFetcher
- Throws:
MalformedURLException
IOException
-
setLocale
- Specified by:
setLocale
in interfaceorg.hl7.fhir.r5.utils.validation.IValidatorResourceFetcher
-
fetchCanonicalResource
public org.hl7.fhir.r5.model.CanonicalResource fetchCanonicalResource(org.hl7.fhir.r5.utils.validation.IResourceValidator iResourceValidator, String s) throws URISyntaxException - Specified by:
fetchCanonicalResource
in interfaceorg.hl7.fhir.r5.utils.validation.IValidatorResourceFetcher
- Throws:
URISyntaxException
-
fetchesCanonicalResource
public boolean fetchesCanonicalResource(org.hl7.fhir.r5.utils.validation.IResourceValidator iResourceValidator, String s) - Specified by:
fetchesCanonicalResource
in interfaceorg.hl7.fhir.r5.utils.validation.IValidatorResourceFetcher
-