users@jaxb.java.net

Customizing code generation

From: tog <guillaume.alleon_at_gmail.com>
Date: Mon, 18 May 2009 13:56:01 -0700 (PDT)

 I am working with the following wsdl
http://webservices.daehosting.com/services/isbnservice.wso?WSDL

Using xjc, I get the following java code. Is it possible to tweak the
compiler to get something like:
[set/get]Sisbn methods instead of [set/get]SISBN ?

Thanks
Guillaume

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "sisbn"
})
@XmlRootElement(name = "IsValidISBN13")
public class IsValidISBN13 {

    @XmlElement(name = "sISBN", required = true)
    protected String sisbn;

    public String getSISBN() {
        return sisbn;
    }

    public void setSISBN(String value) {
        this.sisbn = value;
    }
}

-- 
View this message in context: http://www.nabble.com/Customizing-code-generation-tp23605127p23605127.html
Sent from the java.net - jaxb users mailing list archive at Nabble.com.