Thanks Aleksei.
I did look into their samples earlier. But, I am not sure whether it
supports adding annotations on the class level. I have seen samples that
supports adding annotations on the method or field level.
Appreciate if you could point me a sample which annotates at the class
level.
-Arul
Aleksei Valikov wrote:
> Hi.
>
>
>> Is there any way to annotate abstract classes which are part of the JDK
>> APIs?
>>
>> For instance, I would want to annotate java.security.Permission with
>> XmlSeeAlso which points to my concrete class: CustomPermission. Does JAXB
>> has any custom approach to do this?
>>
>> Appreciate any inputs.
>>
>
> Take a look at JAXB Introductions from JBoss. This allows you to
> annotate any class in an external XML resource.
>
> 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
>
>