type = this.expandIri((String) val.get("@type"), false, true, context, defined); } catch (final JsonLdError error) { if (error.getType() != Error.INVALID_IRI_MAPPING) { .getClass())); final String reverse = this.expandIri((String) val.get("@reverse"), false, true, context, defined); if (!JsonLdUtils.isAbsoluteIri(reverse)) { final String res = this.expandIri((String) val.get("@id"), false, true, context, defined); if (JsonLdUtils.isKeyword(res) || JsonLdUtils.isAbsoluteIri(res)) {
type = this.expandIri((String) val.get(JsonLdConsts.TYPE), false, true, context, defined); } catch (final JsonLdError error) { : val.get(JsonLdConsts.REVERSE).getClass())); final String reverse = this.expandIri((String) val.get(JsonLdConsts.REVERSE), false, true, context, defined); if (!JsonLdUtils.isAbsoluteIri(reverse)) { final String res = this.expandIri((String) val.get(JsonLdConsts.ID), false, true, context, defined); if (JsonLdUtils.isKeyword(res) || JsonLdUtils.isAbsoluteIri(res)) {
type = this.expandIri((String) val.get(JsonLdConsts.TYPE), false, true, context, defined); } catch (final JsonLdError error) { : val.get(JsonLdConsts.REVERSE).getClass())); final String reverse = this.expandIri((String) val.get(JsonLdConsts.REVERSE), false, true, context, defined); if (!JsonLdUtils.isAbsoluteIri(reverse)) { final String res = this.expandIri((String) val.get(JsonLdConsts.ID), false, true, context, defined); if (JsonLdUtils.isKeyword(res) || JsonLdUtils.isAbsoluteIri(res)) {
final String expandedProperty = activeCtx.expandIri(key, false, true, null, null); Object expandedValue = null; .expandIri((String) value, true, false, null, null); "@type value must be a string or array of strings"); ((List<String>) expandedValue).add(activeCtx.expandIri((String) v, true, true, null, null)); expandedValue = activeCtx.expandIri((String) value, true, true, null, null);
final String expandedProperty = activeCtx.expandIri(key, false, true, null, null); Object expandedValue = null; expandedValue = activeCtx.expandIri((String) value, true, false, null, null); } else if (frameExpansion) { .expandIri((String) v, true, true, null, null)); activeCtx.expandIri((String) v, true, true, null, null)); expandedValue = activeCtx.expandIri((String) value, true, true, null, null);
final String expandedProperty = activeCtx.expandIri(key, false, true, null, null); Object expandedValue = null; expandedValue = activeCtx.expandIri((String) value, true, false, null, null); } else if (frameExpansion) { .expandIri((String) v, true, true, null, null)); activeCtx.expandIri((String) v, true, true, null, null)); expandedValue = activeCtx.expandIri((String) value, true, true, null, null);