jax-doclets icon indicating copy to clipboard operation
jax-doclets copied to clipboard

Handle @XMLElements annotation

Open FroMage opened this issue 14 years ago • 1 comments

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 avatar Sep 15 '11 12:09 FroMage

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

FroMage avatar Sep 15 '11 12:09 FroMage