789 |
// reading the value, not the value header. |
// reading the value, not the value header. |
790 |
Field vField = has.getClass().getField("value"); |
Field vField = has.getClass().getField("value"); |
791 |
|
|
792 |
BoxedValueHelper helper; |
Object content = Vio.read(input, a_type.id()); |
|
|
|
|
try |
|
|
{ |
|
|
Class helperClass = |
|
|
Class.forName(ObjectCreator.toHelperName(a_type.id())); |
|
|
helper = (BoxedValueHelper) helperClass.newInstance(); |
|
|
} |
|
|
catch (Exception ex) |
|
|
{ |
|
|
helper = null; |
|
|
} |
|
|
|
|
|
Object content = Vio.read(input, helper); |
|
793 |
vField.set(has, content); |
vField.set(has, content); |
794 |
} |
} |
795 |
else |
else |