users@jaxb2-commons.java.net

Injecting Property Name Constants

From: stoneskin <mo.stoneskin_at_gmail.com>
Date: Fri, 28 Nov 2008 11:38:44 +0000

All,

I'm relatively new to JAXB, and in particular to using and creating plugins.

I'm trying to create a plugin that injects property name constants for each
field in each generated class. E.g. private final static String
PROPERTYNAME_SOMEFIELD = "someField".

Is there such a plugin out there that does this, or any documentation that I
can look at for help?

Thanks

-- 
-- 
http://mo-stoneskin.blogspot.com/
 <http://thereisnothingworsethan.blogspot.com/>
http://www.associatedcontent.com/user/285059/stoneskin.html
Some people get lucky and kill two birds with one stone.  Chuck Norris once
killed four birds with half a stone.  What's that?  You say there's no such
thing as half a stone?  The four dead birds didn't think so either.
(http://www.chucknorrisfacts.com/)
-- 
-- 
http://mo-stoneskin.blogspot.com/
http://thereisnothingworsethan.blogspot.com/
http://www.associatedcontent.com/user/285059/stoneskin.html
Some people get lucky and kill two birds with one stone.  Chuck Norris once
killed four birds with half a stone.  What's that?  You say there's no such
thing as half a stone?  The four dead birds didn't think so either.
(http://www.chucknorrisfacts.com/)