else
aspectName = prefix + methodName + ".";
MForm innerTarget = (MForm) method.invoke(target);
if (innerTarget != null) {
ObjectList nextList = list;
if (!MString.isEmpty(element.group())) {
nextList = findGroupList(element, list);
aspectName = "";
}
parseElements(aspectName, innerTarget, nextList);
}
} else
if (element.type() == TYPE.GROUP) {
FGroup next = new FGroup();
list.add(next);
next.initialize(this);
String aspectName = null;
if (!MString.isEmpty(element.aspect()))
aspectName = prefix + element.aspect() + ".";
else
aspectName = prefix + methodName + ".";
next.setTargetFinder(new TargetFinderWithMethod(method));
// next.setParent();
MForm innerTarget = next.getTarget();
if (innerTarget != null) {
ObjectList nextList = next.getList();
parseElements(aspectName, innerTarget, nextList);
}
} else {
FormSortId idx = method.getAnnotation(FormSortId.class);
IConfig xmlElement = fillElement(prefix,method, toXmlString(element,methodName));
ObjectList nextList = list;
if (!MString.isEmpty(element.group())) {
nextList = findGroupList(element, list);
}
FObject next = createModelObjectFromXml(xmlElement,target, nextList);