/** Parses the items as if they are native and they will become a property * rather than child components. */ private void parseAsProperty(PageDefinition pgdef, ComponentInfo compInfo, String name, Collection items, AnnotationHelper annHelper, ConditionImpl cond) throws Exception { final NativeInfo nativeInfo = new NativeInfo(compInfo.getEvaluatorRef(), pgdef.getLanguageDefinition().getNativeDefinition(), ""); //Note: nativeInfo can not be a child. Rather, it will be a property parseItems(pgdef, nativeInfo, items, annHelper, true); compInfo.addProperty(name, nativeInfo, cond); }
compInfo = ni = new NativeInfo(parent, langdef.getNativeDefinition(), prefRequired && pref.length() > 0 ? pref + ":" + nm : nm);