use of org.hl7.fhir.dstu3.utils.formats.Turtle.TTLList in project org.hl7.fhir.core by hapifhir.
the class TurtleParser method parseChild.
private void parseChild(Turtle src, TTLComplex object, Element context, Set<String> processed, Property property, String path, String name) throws FHIRException {
processed.add(name);
String npath = path + "/" + property.getName();
TTLObject e = object.getPredicates().get(FHIR_URI_BASE + name);
if (e == null)
return;
if (property.isList() && (e instanceof TTLList)) {
TTLList arr = (TTLList) e;
for (TTLObject am : arr.getList()) {
parseChildInstance(src, npath, object, context, property, name, am);
}
} else {
parseChildInstance(src, npath, object, context, property, name, e);
}
}
use of org.hl7.fhir.dstu3.utils.formats.Turtle.TTLList in project org.hl7.fhir.core by hapifhir.
the class TurtleParser method parseChild.
private void parseChild(Turtle src, TTLComplex object, Element context, Set<String> processed, Property property, String path, String name) throws FHIRException {
processed.add(name);
String npath = path + "/" + property.getName();
TTLObject e = object.getPredicates().get(FHIR_URI_BASE + name);
if (e == null)
return;
if (property.isList() && (e instanceof TTLList)) {
TTLList arr = (TTLList) e;
for (TTLObject am : arr.getList()) {
parseChildInstance(src, npath, object, context, property, name, am);
}
} else {
parseChildInstance(src, npath, object, context, property, name, e);
}
}
Aggregations