Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > is there a way to customize jaxb IDREF?

Reply
Thread Tools

is there a way to customize jaxb IDREF?

 
 
Elhanan
Guest
Posts: n/a
 
      03-30-2006
hi..

by default jaxb specs say that have idref as object properties.

is there a way to have jaxb generate the class with the actuall type?

is don't think there is.. even though the spec say you can use basetype
and java type tags in the customize process, you need to specify print
and parse and method, once you do that, jaxb uses them directly in
generated class, meaning my method should accept xml string and convert
to an object, and vice versa

this is bad becouse not only does this completly throws out why i
needed jaxb in the first place but becouse jaxb uses a method called
context.getObjectFromId, which acually pulls out the object according
the id attribute from the internal id table (which clearly i do not
have or want access to)

is there a way to solve this?

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Parsing Binary Structures; Is there a better way / What is your way? Paul Rubin Python 5 08-06-2009 08:06 AM
Best way for app to determine what server it is on and customize config info? Ken Fine ASP .Net 3 08-27-2007 01:59 AM
Is there a way to edit existing windows Icons? to customize them lbbss Computer Support 6 04-18-2006 12:20 PM
any way to customize the is operator? Lonnie Princehouse Python 9 02-11-2006 09:12 PM
Is there a way with Linux x86 to report a way the current stack trace for a thread? kevin.hall@motioneng.com C++ 4 10-20-2005 09:43 PM



Advertisments