commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo Larraquy" <>
Subject Digester doubts...
Date Fri, 10 Dec 2004 20:16:59 GMT
Hi experts:
    I've got a doubt about digester, it's simple, I need to provide it a Factory to search
for my objects.
    Here's a part of my XML.
<Puma_Producto name="SourceKey_1" Datetime="Datetime_1" Action="Action_1">

Here's what I'm doing now.

digester.addObjectCreate("Puma_Producto/Datos", "");

I tell him that when he finds "Puma_Producto/Datos", to give me a instance of Articulo.

Now I what to tell him to give me an instace of Articulo, but telling a Factory to do so with
the value "Puma_Producto/Datos/CODE".

Is that possible??

Thanks in advance.

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