case SchemaBase.ATTRIBUTEGROUP_TYPE:
case SchemaBase.GROUP_TYPE:
// for attribute group or group, only force separate class if multiple components
ValueCountVisitor visitor = new ValueCountVisitor();
wlkr.walkChildren(comp, visitor);
include = visitor.getCount() > 1;
break;
case SchemaBase.COMPLEXTYPE_TYPE:
case SchemaBase.ELEMENT_TYPE: