}
// Set a property to the default value if it is not found in the AVM XML.
for (String property : adapter.getAllPropertyNames()) {
if (!readProperties.contains(property)) {
adapter.resetPropertyToDefaultValue(widget, property);
}
}
parent.add(widget);
}