Skip to content
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

Handle @XMLElements annotation #8

Open
FroMage opened this issue Sep 15, 2011 · 1 comment
Open

Handle @XMLElements annotation #8

FroMage opened this issue Sep 15, 2011 · 1 comment
Labels
Milestone

Comments

@FroMage
Copy link
Owner

FroMage commented Sep 15, 2011

Reported by [email protected], Aug 11, 2011
Currently.... In the elements table, the type is defined as xsd:any when the property is of type java.lang.Object. If there is an @XMLElements tag....Would it be a bad idea to display the list of @xmlelement info within the @XMLElements tag.

Example:
public class Foo{

@XMLElements(value={
@xmlelement(name="number",type=Integer.class),
@xmlelement(name="string",type=String.class)
})
private Object details;

}

Current Documentation: The type of the "details" element in Foo class is xsd:any.

Feature request: Can the type of the "details" element in Foo class
be ( {@link Integer.class} | {@link String.class} )

@FroMage
Copy link
Owner Author

FroMage commented Sep 15, 2011

comment Comment 1 by project member stephane.epardaud, Aug 15, 2011
That's a good idea, thanks

@wikier wikier modified the milestones: 0.10.2, 0.10.1 Jul 11, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants