Skip to main content

A question on JAXB2 basics annotate plugin

2 replies [Last post]
yelin66
Offline
Joined: 2010-08-06

I am using JAXB2 basics annotate plugin, and it works for most common use cases. Now I have an annotation that is associated with another annotation. For example, I need to annotate a field with the following:
@FieldBridge(impl=PaddedIntegerBridge.class, params = @Parameter ( name="pasdding", value="5" ) )

How should I define the schema file to generate the above annotation? Thanks in advance.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
gmazza
Offline
Joined: 2005-01-14

I asked the author of the plugin, Lexi, if he could answer this question, he went ahead and updated the documentation to answer it (he's not a subscriber to this list):

http://confluence.highsource.org/display/J2B/Annotate+Plugin

yelin66
Offline
Joined: 2010-08-06

Thanks a lot!