每个类定义上的注释(用粗体显示)和大部分字段定义提供了配置信息,供JAXB用于控制对象与XML的转换。
The annotations (shown in bold) on each class definition and most of the field definitions supply configuration information that JAXB USES to control the conversion of objects to and from XML.
现在考虑一下,如果使用注释来定义清单4和清单5的绑定,将涉及哪些内容。
Now consider what would be involved in using annotations to define the Listings 4 and 5 bindings.
也可以直接在设计列表中定义名称、别名和注释,向右击菜单中增加视图动作。
You could also define the name, alias, and comment directly in the design list and add view actions to right-click menus.
应用推荐