public Map<String, Object> serialize() { final Map<String, Object> ctx = newMap(); if (this.get("@base") != null && !this.get("@base").equals(options.getBase())) { ctx.put("@base", this.get("@base")); if (this.get("@language") != null) { ctx.put("@language", this.get("@language")); if (this.get("@vocab") != null) { ctx.put("@vocab", this.get("@vocab"));
.equals(value.get(JsonLdConsts.LANGUAGE), this.get(JsonLdConsts.LANGUAGE))) { return valueValue;
|| Obj.equals(value.get("@language"), this.get("@language"))) { return valueValue;
public Map<String, Object> serialize() { final Map<String, Object> ctx = newMap(); if (this.get(JsonLdConsts.BASE) != null && !this.get(JsonLdConsts.BASE).equals(options.getBase())) { ctx.put(JsonLdConsts.BASE, this.get(JsonLdConsts.BASE)); if (this.get(JsonLdConsts.LANGUAGE) != null) { ctx.put(JsonLdConsts.LANGUAGE, this.get(JsonLdConsts.LANGUAGE)); if (this.get(JsonLdConsts.VOCAB) != null) { ctx.put(JsonLdConsts.VOCAB, this.get(JsonLdConsts.VOCAB));
.equals(value.get(JsonLdConsts.LANGUAGE), this.get(JsonLdConsts.LANGUAGE))) { return valueValue;
public Map<String, Object> serialize() { final Map<String, Object> ctx = newMap(); if (this.get(JsonLdConsts.BASE) != null && !this.get(JsonLdConsts.BASE).equals(options.getBase())) { ctx.put(JsonLdConsts.BASE, this.get(JsonLdConsts.BASE)); if (this.get(JsonLdConsts.LANGUAGE) != null) { ctx.put(JsonLdConsts.LANGUAGE, this.get(JsonLdConsts.LANGUAGE)); if (this.get(JsonLdConsts.VOCAB) != null) { ctx.put(JsonLdConsts.VOCAB, this.get(JsonLdConsts.VOCAB));
String defaultLanguage = (String) this.get("@language"); if (defaultLanguage == null) { defaultLanguage = "@none";
String defaultLanguage = (String) this.get(JsonLdConsts.LANGUAGE); if (defaultLanguage == null) { defaultLanguage = JsonLdConsts.NONE;
String defaultLanguage = (String) this.get(JsonLdConsts.LANGUAGE); if (defaultLanguage == null) { defaultLanguage = JsonLdConsts.NONE;
definition.put("@id", this.get("@vocab") + term); } else { throw new JsonLdError(Error.INVALID_IRI_MAPPING,
definition.put(JsonLdConsts.ID, this.get(JsonLdConsts.VOCAB) + term); } else if (!JsonLdConsts.TYPE.equals(term)) { throw new JsonLdError(Error.INVALID_IRI_MAPPING,