super(Integer.parseInt(HBCIUtils.getParam("kernel.objpool.SEG","128")));
}
public MultipleSEGs createMultipleSEGs(Node sfref, String path, char predelim0, char predelim1, StringBuffer res, int fullResLen, Document syntax, Hashtable<String, String> predefs,Hashtable<String, String> valids)
{
MultipleSEGs ret=(MultipleSEGs)getFreeObject();
if (ret==null) {
// HBCIUtils.log("creating new multi SEG object",HBCIUtils.LOG_DEBUG);
ret=new MultipleSEGs(sfref,path,predelim0,predelim1,res,fullResLen,syntax,predefs,valids);
addToUsedPool(ret);
} else {
// HBCIUtils.log("reusing multi SEG object",HBCIUtils.LOG_DEBUG);
try {
ret.init(sfref,path,predelim0,predelim1,res,fullResLen,syntax,predefs,valids);
addToUsedPool(ret);
} catch (RuntimeException e) {
addToFreePool(ret);
throw e;
}