processContentModel(group, state);
component.setView(group);
//-- Check Group Type
Order order = group.getOrder();
GroupInfo groupInfo = new XMLInfoNature(classInfo).getGroupInfo();
if (order == Order.choice) {
groupInfo.setAsChoice();
} else if (order == Order.sequence) {
groupInfo.setAsSequence();
} else {
groupInfo.setAsAll();
}
return group.getMaxOccurs() == 1;
} catch (ClassCastException ce) {
//--Should not happen