[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.
Cheers,
Matt
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.
>
>Aaron
>
>
>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
>>"org.jdom.Element".
>>
>>Example:
>>
>>I want to use:
>>public static List tablesParser(Element tb1)
>>instead of
>>public static List tablesParser(org.jdom.Element tb1)
>>
>>
>>Thanks,
>>
>>Justin Wall
>>
>>_______________________________________________
>>To control your jdom-interest membership:
>>http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com
>>
>
>_______________________________________________
>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