[jdom-interest] method variable names

Alex Rosen arosen at silverstream.com
Fri Apr 26 08:20:40 PDT 2002


JDOM uses descriptive names everywhere, check the source. The signature of
Element's constructor is:

public Element(String name, Namespace namespace)

I think JBuilder is giving you its API help based on the .class files in
JDOM's JAR, which don't contain parameter names. I'm not a JBuilder user,
but there's probably some way to point it at the source or the JavaDoc so it
can find out these names.

Alex

> -----Original Message-----
> From: jdom-interest-admin at jdom.org
> [mailto:jdom-interest-admin at jdom.org]On Behalf Of Ryan Henderson
> Sent: Thursday, April 25, 2002 9:42 PM
> To: jdom-interest at jdom.org
> Subject: [jdom-interest] method variable names
>
>
>
> Just a quick one, The names that have been used in the methods for
> the JDOM library are a bit obscure. eg p0 and p1 for the constructor
> of a new element.
>
> The reason I would bother to bring this up is when using a program
> such as jbuilder it brings up the method name plus the variable types
> and their associated names. So sometimes rather than having to look
> in the API documentation I can basically sift through the methods etc
> and based on the names you can gather exactly what the method will do.
>
> So for example rather than p0 and p1 it could be propertyName and
> propertyValue ??
>
> Just thought I would drop you a line and let you know anyway.
>
>
> --
> Ryan Henderson
> Programmer
> University of Western Australia
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/yo
> uraddr at yourhost.com




More information about the jdom-interest mailing list