commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pablo Nussembaum" <pnussemb...@datatransfer.com.ar>
Subject Digester w/ Recursive Tags
Date Thu, 27 Feb 2003 14:42:05 GMT
I've the same problem, and I think to solve the problem we need to
change the digesters rules to accept another rule (like a composite
pattern)

 

An example will make my point more clear.

 

public void parse()

{

...

Digeter d = new Digester();

Rule r = new xxxxRule("a");

r.addXxxxRule("b");

 

d.addRule(r);

 

...

}

-- 
Pablo Nussembaum
mailto: pnusse@datatransfer.com.ar
Tel: +54-11-4382-6400 int 123
Datatransfer S.A.

 

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message