Java Reference
In-Depth Information
NONE
Tells the marshaler not to marshal any properties by default. You must explicitly indicate
fields that you want marshaled with their own overriding annotations.
XMLElement
This annotation indicates that the field it annotates should be an element in the XML schema.
It has three possible values: required , nillable , and defaultValue . These correspond to
the schema values you would expect.
Conclusion
Again, JAXB is a very large topic. The aim here is not to provide a complete tutorial on every
aspect of JAXB, but rather to illustrate just the things you need to know in order to use JAXB
within an SOA environment. There are a number of tutorials and other resources online. The
complete specification is very long (almost 400 pages), but it is certainly the authoritative
source for JAXB's capabilities.
Search WWH ::




Custom Search