[jdom-interest] JDOM extensions
Jason Hunter
jhunter at acm.org
Fri Jan 25 16:00:07 PST 2002
There's org.jdom.contrib. You can see what's there in the jdom-contrib
module. If you have a proposal that looks interesting, we can get you
write access.
-jh-
"Trimmer, Todd" wrote:
>
> I'm sure that by now many developers using JDOM have come up with their own
> extension functions/classes. An extension function would be a static method
> on a library class containing virtually all static methods. An example:
>
> /**
> * Copy attributes from one <CODE>Element</CODE> to another, overriding
> * the target's attribute value with the source's on an attribute name
> * collision.
> *
> * @param src <CODE>Element</CODE> to copy attributes from
> * @param target <CODE>Element</CODE> to copy attributes to
> *
> * @return the modified target <CODE>Element</CODE>
> */
> public static Element copyAttributes(Element src, Element target)
> {
> ...
> }
>
> Is there a common repository for code like this? A place where developers
> can exchange thoughts on what extension functions can eventually evolve to a
> standard package like org.jdom.extensions?
>
> Todd Trimmer
>
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com
More information about the jdom-interest
mailing list