817818819820821822823824825826827
} } } private ReaderWriter assertPropertyRegistered(String property) { final ReaderWriter rw = readerWriters.get(property); if (rw == null) throw new RuntimeException("No ReaderWriter set for property " + property); return rw; }
825826827828829830831832
return rw; } protected final Object readProperty(String property, byte[] value) { ReaderWriter rw = assertPropertyRegistered(property); return rw.read(value); }
830831832833834835836837
ReaderWriter rw = assertPropertyRegistered(property); return rw.read(value); } protected final byte[] writeProperty(String property, Object value) { ReaderWriter rw = assertPropertyRegistered(property); return rw.write(value); }
811812813814815816817818819820821
819820821822823824825826
824825826827828829830831
816817818819820821822823824825826
829830831832833834835836