yes,
I was looking for real annotations :) We can find a lot of cases where
the ability to produces annotated types is very convenient.....
On Nov 28, 2007 11:48 AM, Aleksei Valikov <valikov_at_gmx.net> wrote:
> Hi.
>
> > You can use the <javacdoc> customization tag on your XSD type. Either
> > directly in your .xsd or in a separate binding file.
> >
> > <xsd:schema jxb:version="2.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> > xmlns:jxb="http://java.sun.com/xml/ns/jaxb">
> > <xsd:complexType name="DeprecatedType">
> > <xsd:annotation>
> > <xsd:appinfo>
> > <jxb:class>
> > <jxb:javadoc>@deprecated</jxb:javadoc>
> > </jxb:class>
> > </xsd:appinfo>
> > </xsd:annotation>
> > <!-- Your type definition -->
> > </xsd:complexType>
> > </xsd:schema>
>
> I belive this is not what Felipe wants - he wants a Java 5 annotation,
> not javadoc @deprecated.
>
> Bye.
> /lexi
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>
>