-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
does jax-doclets support EclipseLink moxy? #11
Comments
No we don't support it, but if you want to add support for it your contribution will be welcome :) |
Hi Stphane, I took a brief look at the source code of jax-doclets. It did a great job For my story, the standard JAXB implementation is not enough powerful and My though about how to change jax-doclets to support moxy is : (1) provide an way to pass in customized JAXB implementation Like to hear what you are thinking. 2011/9/27 Stphane pardaud <
|
Currently all the JAXB mapping is done by hand based on the spec and what we had time to support. You're more than welcome to add support for whatever else you want supported. |
I tried my thought and it works, but the objects created on that way In this way, it can generate a valid xml sample. 2011/9/28 Stphane pardaud <
|
Hey if you manage to get this to work, be my guest. The current solution is a hack but happens to work well enough for most users and was relatively easy to do. Also it supports links to sub-elements and is concise. If you can do better, be my guest and I will include it. |
Hi, I have to pause the implementation of the first thought for weeks because I I can send all my half-way coding if you like or just wait for weeks? Sincerely 2011/10/4 Stphane pardaud <
|
I can wait, no rush :) Thanks for your help! |
Hi Stphane pardaud, Now I am back to the javadocs again. First I summary What I am going to do:
So I assume :
entity Java bean even without container supporting Of course the one I am working is Eclipse_Moxy, which can meet this Then I Summary what I am going to do: (2) I will create an XmlGenerator class will generate sample xml data (3) customized xmlGenerator: XmlGenerator is not good for every schema I did a simple implementation of step 1 and 2, For step3 , My first I'd like to hear your idea. Sincerely 2011/10/4 Stphane pardaud <
|
Another issue is that some JAXRS method return javax.ws.rs.core.Response, 2012/1/12 Justin Wu justin@tungle.com
|
Well, I just suspect most users of JAXB will be like me and not even have or care about schemas or extensions. It'd be great to add support for extensions such as |
Even I don't care the xml schema. The only purpose of those schema is to My change is small. the main is part leaving to the customized Of course I can keep it only for myself if you don't like the idea. 2012/1/27 Stphane pardaud <
|
No I'm certainly interested :) |
how can I check in the code? 2012/1/27 Stphane pardaud <
|
do you need a review on it? 2012/1/27 Justin Wu justin@tungle.com
|
Yes please, make a pull request. |
Please see the attachment and review my changes. the file build_sample.xml is an ant script sample. 2012/1/27 Stphane pardaud <
|
My current project is using EclipseLink moxy. Some code is using @XmlPath of EclipseLink moxy to define a fine mapping between Java object and xml schema.
And I also using jax-doclets to generate docs. Now my RestFul API is working as I expected with fine mapping. But the API doc which is generated by jax-doclets didn't follow my fine mapping setting on @XmlPath .
So my question is :
does jax-doclets support EclipseLink moxy?
some of my code like this :
The text was updated successfully, but these errors were encountered: