Re: load properties from xml into objects



Bart Cremers wrote:
Petterson Mikael wrote:

Hi,

<snip>

I need to read this file and create plugin objects containing this
information. Any hints on how I can do this easily?



cheers,

//mikael


Use a SAX parser to read the xml file.

Store the tag data in fields in the handler by correctly writing the
startTag handling code. On the endTag for a Plugin tag you can create
instances of the Plugin class using the collected data.

Regards,

Bart

Thanks for a the hints.

cheers,

//mikael
.



Relevant Pages

  • Re: load properties from xml into objects
    ... I need to read this file and create plugin objects containing this ... Any hints on how I can do this easily? ... Store the tag data in fields in the handler by correctly writing the ...
    (comp.lang.java.help)
  • eclipse plugin install permission problem
    ... I just tried to install pydev-0.7 plugin for eclipse, ... Any hints? ... To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list ...
    (Fedora)