users@jaxb.java.net
JAXB, XJC and the Java Beans spec. - boolean getter methods
This message
: [
Message body
] [ More options (
top
,
bottom
) ]
Related messages
: [
Next message
] [
Previous message
] [
Next in thread
] [
Replies
]
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]
From
: <
torsten.reinhard_at_gi-de.com
>
Date
: Wed, 5 Nov 2008 11:33:53 +0100
Hi,
I have problems in using XJC to generate JAXB classes to match the Java
Beans specification.
The generated methods for <boolean> types are
void set.....(Boolean value )
Boolean is....()
instead of
void set....(boolean value)
boolean is....()
That causes problems in using JXPath (apache) for example, and other
libraries, too.
I´ve read a lot about this problem, for example:
http://weblogs.java.net/blog/kohsuke/archive/2007/07/hudson_1122_and.html
http://www.nabble.com/How-can-JAXB-generate-getter-method-for-boolean--td16563661.html
http://www.mojavelinux.com/blog/archives/2006/09/the_great_jaxb_api_blunder/
https://jaxb.dev.java.net/issues/show_bug.cgi?id=131
http://forums.java.net/jive/thread.jspa?messageID=301300&tstart=0
I´ve read something about a "booleangetter" plugin - is this already
available anywhere?
Isn´t there maybe another (simple) solution?
What would you suggest to come around this "boolean getter method problem"
?
Thanx, Torsten
This message
: [
Message body
]
Next message
:
Felipe Gaúcho: "Re: JAXB, XJC and the Java Beans spec. - boolean getter methods"
Previous message
:
Jeevandra Sivarajah: "Specify output file name with schemagen ant"
Next in thread
:
Felipe Gaúcho: "Re: JAXB, XJC and the Java Beans spec. - boolean getter methods"
Reply
:
Felipe Gaúcho: "Re: JAXB, XJC and the Java Beans spec. - boolean getter methods"
Maybe reply
:
Martin Grebac: "Re: JAXB, XJC and the Java Beans spec. - boolean getter methods"
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]