[jdom-interest] Possibility to attach application data to jDom elements

Alex Rosen arosen at silverstream.com
Wed Jun 26 07:35:24 PDT 2002


... or a WeakHashMap, that's what it's for. (i.e. use the JDOM object as the
key, and your data as the value, to associate the two.)

Alex

> -----Original Message-----
> From: jdom-interest-admin at jdom.org
> [mailto:jdom-interest-admin at jdom.org]On Behalf Of Ernst de Haan
> Sent: Wednesday, June 26, 2002 8:09 AM
> To: jdom-interest at jdom.org
> Subject: Re: [jdom-interest] Possibility to attach application data to
> jDom elements
>
>
> Nils,
>
> Why don't you just store this data yourself, for example in a
> HashMap owned by
> your application?
>
> Ernst
>
>
> On Wednesday 26 June 2002 13:15, Nils Kaiser wrote:
> > Hi folks,
> >
> > Is there a possibility to attach/associate app data to jDom
> elements?
> > Perhaps through a type of attributes that aren't outputted?
> Or simply a
> > void setApplicationData(Object data)/Object
> getApplicationData() method?
> >
> > Is there a possibility to achieve this using b9?
> >
> > Thx,
> >
> > Nils
> >
> >
> >
> > _______________________________________________
> > To control your jdom-interest membership:
> >
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourho
>st.com

--
Ernst de Haan
EuroNet Internet B.V.

    "Come to me all who are weary and burdened
        and I will give you rest" -- Jesus Christ

_______________________________________________
To control your jdom-interest membership:
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhos
t.com




More information about the jdom-interest mailing list