Dmitri Colebatch wrote:
>Hi again,
>
>I'm finding the default bindings almost very useful, with one problem
>- my schemas have initcap names almost excusively. So I want
>
>@XmlRootElement
>@XmlAccessorType(AccessType.FIELD)
>class Foo
>{
> private String bar;
>
> public String getBar()
> {
> return bar;
> }
>
> public void setBar(String bar)
> {
> this.bar = bar;
> }
>}
>
>to become
>
><Foo>
> <Bar>wertyui</Bar>
></Foo>
>
>but unfortunately spits out
>
><foo>
> <bar>wertyui</bar>
></foo>
>
>I don't suppose there's an easy switch to 'fix' this for me?
>
There is no such switch at this time.
To clarify, are you asking for WYSWIG for element names not just retaining
the init capital letter for element names. For e.g.
- Foo maps to element name Foo
- PurchaseOrder would map to element name PurchaseOrder
Is the above correct ?
Sekhar
>
>cheers
>dim
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
>For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>
>
>