1.@XmlAccessorType(XmlAccessType.PUBLIC_MEMBER)
Causes jaxb implementation to create binding for fields,annotated fields and property.
2.@XmlAccessorType(XmlAccessType.PROPERTY)
Causes Jaxb implementations to create bindings for property and annotated fields.
3.@XmlAccessorType(XmlAccessType.FIELD)
cause JAXB implementations to create bindings for fields and annotated property only
http://blog.bdoughan.com/2011/06/using-jaxbs-xmlaccessortype-to.html
Causes jaxb implementation to create binding for fields,annotated fields and property.
2.@XmlAccessorType(XmlAccessType.PROPERTY)
Causes Jaxb implementations to create bindings for property and annotated fields.
3.@XmlAccessorType(XmlAccessType.FIELD)
cause JAXB implementations to create bindings for fields and annotated property only
http://blog.bdoughan.com/2011/06/using-jaxbs-xmlaccessortype-to.html
@XmlType
(propOrder={
"ID"
,
"firstName"
,
"lastName"
})
No comments:
Post a Comment