[jdom-interest] simple question

Aaron Oathout aaron at codejunkies.org
Tue Jul 31 15:42:58 PDT 2001


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
>




More information about the jdom-interest mailing list