it = conn.getStatements((Resource) null, FresnelCore.instanceFormatDomain, (Value) null, false);
while (it.hasNext()) {
try {
Statement formatResourceStatement = (Statement) it.next();
InstanceFormat format = (InstanceFormat) InstanceFormat.parse(this._source, formatResourceStatement.getSubject(), this);
if (!this._all.containsKey(format.getIdentifier())) addInstanceFormat(format);
} catch (ParsingException e) {
gather(e);
} catch (UnresolvableException u) {
gather(u);
}
}
it.close();
it = conn.getStatements((Resource) null, FresnelCore.classFormatDomain, (Value) null, false);
while (it.hasNext()) {
try {
Statement formatResourceStatement = (Statement) it.next();
ClassFormat format = (ClassFormat) ClassFormat.parse(this._source, formatResourceStatement.getSubject(), this);
if (!this._all.containsKey(format.getIdentifier())) addClassFormat(format);
} catch (ParsingException e) {
gather(e);
} catch (UnresolvableException u) {
gather(u);
}