// TODO: this really should be a separate pass to handle fixed class names
String prefix = NameUtils.toNameWord(group.getEffectiveClassName());
m_prefix = prefix;
int select = NestingCustomBase.SELECTION_UNCHECKED;
boolean exposed = false;
ComponentExtension extension = group.getComponentExtension();
switch (group.getSchemaComponent().type()) {
case SchemaBase.CHOICE_TYPE:
select = extension.getChoiceType();
exposed = extension.isChoiceExposed();
break;
case SchemaBase.UNION_TYPE:
select = extension.getUnionType();
exposed = extension.isUnionExposed();
break;
}
if (select != NestingCustomBase.SELECTION_UNCHECKED) {
// no selector needed if handled by parent, or if no choices