Add support for R6 to R4 version enumeration
This commit is contained in:
parent
be8944ab94
commit
f868576840
|
@ -230,12 +230,6 @@ public class Enumerations40_50 {
|
|||
case _4_3_0:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.FHIRVersion._4_3_0);
|
||||
break;
|
||||
case _4_3_0_CIBUILD:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.FHIRVersion._4_3_0CIBUILD);
|
||||
break;
|
||||
case _4_3_0_SNAPSHOT1:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.FHIRVersion._4_3_0SNAPSHOT1);
|
||||
break;
|
||||
case _5_0_0:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.FHIRVersion._5_0_0);
|
||||
break;
|
||||
|
@ -254,6 +248,15 @@ public class Enumerations40_50 {
|
|||
case _5_0_0DRAFTFINAL:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.FHIRVersion._5_0_0DRAFTFINAL);
|
||||
break;
|
||||
case _6_0_0:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.FHIRVersion._6_0_0);
|
||||
break;
|
||||
case _6_0_0_BALLOT1:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.FHIRVersion._6_0_0_BALLOT1);
|
||||
break;
|
||||
case _6_0_0_BALLOT2:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.FHIRVersion._6_0_0_BALLOT2);
|
||||
break;
|
||||
default:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.FHIRVersion.NULL);
|
||||
break;
|
||||
|
@ -342,12 +345,6 @@ public class Enumerations40_50 {
|
|||
case _4_3_0:
|
||||
tgt.setValue(org.hl7.fhir.r4.model.Enumerations.FHIRVersion._4_3_0);
|
||||
break;
|
||||
case _4_3_0CIBUILD:
|
||||
tgt.setValue(org.hl7.fhir.r4.model.Enumerations.FHIRVersion._4_3_0_CIBUILD);
|
||||
break;
|
||||
case _4_3_0SNAPSHOT1:
|
||||
tgt.setValue(org.hl7.fhir.r4.model.Enumerations.FHIRVersion._4_3_0_SNAPSHOT1);
|
||||
break;
|
||||
case _5_0_0:
|
||||
tgt.setValue(org.hl7.fhir.r4.model.Enumerations.FHIRVersion._5_0_0);
|
||||
break;
|
||||
|
@ -366,6 +363,15 @@ public class Enumerations40_50 {
|
|||
case _5_0_0DRAFTFINAL:
|
||||
tgt.setValue(org.hl7.fhir.r4.model.Enumerations.FHIRVersion._5_0_0DRAFTFINAL);
|
||||
break;
|
||||
case _6_0_0:
|
||||
tgt.setValue(org.hl7.fhir.r4.model.Enumerations.FHIRVersion._6_0_0);
|
||||
break;
|
||||
case _6_0_0_BALLOT1:
|
||||
tgt.setValue(org.hl7.fhir.r4.model.Enumerations.FHIRVersion._6_0_0_BALLOT1);
|
||||
break;
|
||||
case _6_0_0_BALLOT2:
|
||||
tgt.setValue(org.hl7.fhir.r4.model.Enumerations.FHIRVersion._6_0_0_BALLOT2);
|
||||
break;
|
||||
|
||||
default:
|
||||
tgt.setValue(org.hl7.fhir.r4.model.Enumerations.FHIRVersion.NULL);
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -80,6 +80,15 @@ public class XmlLocationAnnotator extends XMLFilterImpl {
|
|||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object getProperty(String name) throws SAXNotRecognizedException, SAXNotSupportedException {
|
||||
if (!name.equals("http://javax.xml.xmlconstants/property/accessExternalDTD")) {
|
||||
return null;
|
||||
} else {
|
||||
return super.getProperty(name);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setDocumentLocator(Locator locator) {
|
||||
super.setDocumentLocator(locator);
|
||||
|
|
Loading…
Reference in New Issue