temporary support for NamingSystem.url
This commit is contained in:
parent
86a905114d
commit
78c736173d
|
@ -16511,7 +16511,11 @@ public class XmlParser extends XmlParserBase {
|
||||||
}
|
}
|
||||||
|
|
||||||
protected boolean parseNamingSystemContent(int eventType, XmlPullParser xpp, NamingSystem res) throws XmlPullParserException, IOException, FHIRFormatError {
|
protected boolean parseNamingSystemContent(int eventType, XmlPullParser xpp, NamingSystem res) throws XmlPullParserException, IOException, FHIRFormatError {
|
||||||
if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("name")) {
|
if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("url")) {
|
||||||
|
res.setUrlElement(parseUri(xpp));
|
||||||
|
} else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("version")) {
|
||||||
|
res.setVersionElement(parseString(xpp));
|
||||||
|
} else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("name")) {
|
||||||
res.setNameElement(parseString(xpp));
|
res.setNameElement(parseString(xpp));
|
||||||
} else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("status")) {
|
} else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("status")) {
|
||||||
res.setStatusElement(parseEnumeration(xpp, Enumerations.PublicationStatus.NULL, new Enumerations.PublicationStatusEnumFactory()));
|
res.setStatusElement(parseEnumeration(xpp, Enumerations.PublicationStatus.NULL, new Enumerations.PublicationStatusEnumFactory()));
|
||||||
|
|
Loading…
Reference in New Issue