Each AttributeType has its own {@link AttributeTypeValidator}that is used when deserializing from JSON.
283284285286287288289290291292293294295296297298299300301
for (String attrName : keys) { ctx.push(attrName); AttributeType atyp = factory.getAttributeType(attrName); if (atyp == null) { ctx.addInvalidAttributeError(type); } else { atyp.validate(aobj.get(attrName), ctx); } ctx.pop(); // attrName } } ctx.pop(); // attributes
270271272273274275276277278279280281282283284285286287288