super(Integer.parseInt(HBCIUtils.getParam("kernel.objpool.DE","1024")));
}
public DE createDE(Node dedef, String name, String path, char predelim, int idx, StringBuffer res, int fullResLen, Document syntax, Hashtable<String, String> predefs,Hashtable<String, String> valids)
{
DE ret=(DE)getFreeObject();
if (ret==null) {
// HBCIUtils.log("creating new DE object",HBCIUtils.LOG_DEBUG);
ret=new DE(dedef,name,path,predelim,idx,res,fullResLen,syntax,predefs,valids);
addToUsedPool(ret);
} else {
// HBCIUtils.log("reusing DE object",HBCIUtils.LOG_DEBUG);
try {
ret.init(dedef,name,path,predelim,idx,res,fullResLen,syntax,predefs,valids);
addToUsedPool(ret);
} catch (RuntimeException e) {
addToFreePool(ret);
throw e;
}