Skip to content
This repository was archived by the owner on Sep 24, 2018. It is now read-only.
This repository was archived by the owner on Sep 24, 2018. It is now read-only.

Bug in @XmlElement.name javadoc  #34

@glassfishrobot

Description

@glassfishrobot

public @interface XmlElement {
/**

  • Name of the XML Schema element. By default, the XML Schema
  • element name is derived from the JavaBean property name.

*/
String name() default "";

This customization might be used on a class, so just saying
"from the JavaBean property name" is inaccurate. You should say
something like:

... from (1) the JavaBean property name if the customization is
spcified on a method or a field and (2) the class name if the
customization is specified on a class.

Environment

Operating System: All
Platform: All

Affected Versions

[2.0 v0.4]

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions