[jdom-interest] simple question

Matthew MacKenzie matt at xmlglobal.com
Tue Jul 31 16:21:55 PDT 2001

Of note: Actually importing a class explicitly, rather than importing 
the whole package makes no difference
in runtime performance - a myth I fell for once.  It is only useful to 
declare each import seperatly if you have
a really complex class and want to impose some clarity.



Aaron Oathout wrote:

>Either "import org.jdom.*;" or better yet, only import the classes you
>need from the package "import org.jdom.Element;". Put these before your
>class definition and after your package statement.
>On Tue, 31 Jul 2001, Justin Wall wrote:
>>	Sorry about this, I'm also new to Java, but  was wondering how to do
>>this.  How can I just use "Element" as a class descriptor instead of
>>I want to use:
>>public static List tablesParser(Element tb1)
>>instead of
>>public static List tablesParser(org.jdom.Element tb1)
>>Justin Wall
>>To control your jdom-interest membership:
>To control your jdom-interest membership:

More information about the jdom-interest mailing list