commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Price <epr...@ptc.com>
Subject [digester] addSetNext call placement
Date Tue, 11 Mar 2003 16:28:14 GMT
Does it matter where you place the call to the "addSetNext" method of a 
Digester instance, as long as it's before the "parse" method call?

i.e.:

Digester dig = new Digester();
dig.push(this);
dig....
dig....
dig....
dig.addSetNext("some/pattern", "addFoo");
dig.parse(file);


is the same as:

Digester dig = new Digester();
dig.push(this);
dig.adSetNext("some/pattern", "addFoo");
dig....
dig....
dig....
dig.parse(file);


?


Thanks,

Erik


Mime
View raw message