I was in the middle of editing this before, and it went back to the main JAXB page... not sure what happened, so I apologize if you get two copies...
In my autogenerated code, I have:
ServiceList getServices()
and ServiceList gets expanded to a class with just this method:
java.util.List getService()
how would I customize it so that getServices() returned the java.util.List directly? I assume I have to change my xsd, but not sure. I can do that, as long as the functionality and tag names remain the same.
>>From my autogenerated Javadocs:
<complexType name="pandoraConfig">
<complexContent>
<restriction base="{
http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="services" type="{
http://devel.eoti.org/pandora}serviceList"/>
<element name="vhosts" type="{
http://devel.eoti.org/pandora}domains"/>
</sequence>
<attribute name="mimetypes" type="{
http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
and
<complexType name="serviceList">
<complexContent>
<restriction base="{
http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="service" type="{
http://devel.eoti.org/pandora}serviceConfiguration" maxOccurs="unbounded"/>
</sequence>
</restriction>
</complexContent>
</complexType>
Malachi