Package org.hl7.fhir.convertors.loaders
Class XVersionLoader
- java.lang.Object
-
- org.hl7.fhir.convertors.loaders.XVersionLoader
-
public class XVersionLoader extends Object
-
-
Constructor Summary
Constructors Constructor Description XVersionLoader()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.hl7.fhir.r5.model.ResourceloadJson(String version, InputStream stream)static org.hl7.fhir.r5.model.ResourceloadXml(String version, InputStream stream)
-
-
-
Constructor Detail
-
XVersionLoader
public XVersionLoader()
-
-
Method Detail
-
loadXml
public static org.hl7.fhir.r5.model.Resource loadXml(String version, InputStream stream) throws org.hl7.fhir.exceptions.FHIRFormatError, IOException
- Throws:
org.hl7.fhir.exceptions.FHIRFormatErrorIOException
-
loadJson
public static org.hl7.fhir.r5.model.Resource loadJson(String version, InputStream stream) throws org.hl7.fhir.exceptions.FHIRException, IOException
- Throws:
org.hl7.fhir.exceptions.FHIRExceptionIOException
-
-