classMediator.addProperty(propName, value);
PropertyHelper.setInstanceProperty(propName, value, m);
} else {
OMNode omNode = child.getFirstOMChild();
if (omNode != null) {
classMediator.addProperty(propName, omNode);
PropertyHelper.setInstanceProperty(propName, omNode, m);
} else {
handleException("A Class mediator property must specify " +
"name and value attributes, or a name and a child XML fragment");
}