for(int i = 0; i < iCount; i++) {
if(tdosa_recursive.isTemplate(i)) {
atf[i] = new TemplateFiller();
atf[i].setTemplate(new Template(tdosa_recursive.getTemplateData(i)));
acoTAndIdx.add(new TFAndArrIdx(i, atf[i]));
} else {
//It is a string
ass[i] = new s_s(tdosa_recursive.getName(i), tdosa_recursive.getString(i));
}
}
if(acoTAndIdx.size() == 0) {
throwAX("getRecursivelyFilled: There are no Templates in tdosa_recursive (there are a total of " + iCount + " elements in tdosa_recursive, all of which are strings).");
}
StringBuffer sbPath = new StringBuffer(sES);
for(int i = 0; i < acoTAndIdx.size(); i++) {
TFAndArrIdx tfaai = (TFAndArrIdx)acoTAndIdx.getObject(i);
TemplateFiller tf = tfaai.tf;
int iArrIdxInATF = tfaai.iArrIdxInATF;
if(ass[iArrIdxInATF] == null) {
//sbPath is used only for circular path error messages.