users@jaxb.java.net

Existing classes > XML

From: Vadivelrajan, Gobiraj <Gobiraj.Vadivelrajan_at_schwab.com>
Date: Wed, 08 Jan 2003 11:49:02 -0800

I'm new to JAXB. I have a basic question

Can I use JAXB to marshal existing classes.

For e.g. Can this class be marshaled

public class HelloWorld {

    private String hello = null;

    public void setHello(String hello)
    {
        this.hello = hello;
    }

    public String getHello()
    {
        return hello;
   }


}


Based on my initial reading the document and specs mentions only about
classes generated using JAXB can be marshaled and vice versa.


Thanks
Gobiraj