Re: generate interface to xml
- From: Remi Bastide <FirstName.LastName@xxxxxxx>
- Date: Tue, 31 May 2005 15:39:50 +0200
Petterson Mikael <mikael.petterson@xxxxxxxxxxxxxxx> wrote:
>Hi,
>
>I have a jar that is loaded onto a vm. Is there a way to extract the
>interface information and output it to an xml file?
>
>all hints are very much welcome!
>
>cheers,
>
>//mikael
By "interface" do you mean "java interface" or "user interface" ?
If you mean the latter:
XMLEncoder e = new XMLEncoder(
new BufferedOutputStream(
new FileOutputStream("Test.xml")));
e.writeObject(myUserInterface);
e.close();
(from
http://java.sun.com/j2se/1.4.2/docs/api/java/beans/XMLEncoder.html)
.
- Follow-Ups:
- Re: generate interface to xml
- From: iksrazal
- Re: generate interface to xml
- References:
- generate interface to xml
- From: Petterson Mikael
- generate interface to xml
- Prev by Date: Re: Java WSDP and Tomcat 5
- Next by Date: HTML output of JSP document
- Previous by thread: generate interface to xml
- Next by thread: Re: generate interface to xml
- Index(es):