Ian Shafer wrote:

> I'd like the generated class to have a method named 'getTeams()' and not
> 'getTeam()'. Is there a way to do this?

Try

    <xs:element name="team">
      <xs:annotation><xs:appinfo>
        <jaxb:property name="teams"/>
      </xs:appinfo></xs:annotation>

Note that you need to declare the prefix "jaxb:". See
src/test/jaxb/nestedGroups.xsd for an example.

Jochen


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to