1.

Explain The Syntax Of Customization?

Answer»

Customizations can be specified in

  • the XML SCHEMA (our focus)
  • a binding declarations XML DOCUMENT (not WELL supported by RI yet)

The XML Schema must declare

the JAXB namespace and version

xmlns:jxb="HTTP://java.sun.com/xml/ns/jaxb"

jxb:version="1.0">

Customization elements are placed in annotation elements

 <xsd:annotation>

<xsd:appinfo>

 binding declarations

</xsd:appinfo>

</xsd:annotation>

Customizations can be specified in

The XML Schema must declare

the JAXB namespace and version

xmlns:jxb="http://java.sun.com/xml/ns/jaxb"

jxb:version="1.0">

Customization elements are placed in annotation elements

 <xsd:annotation>

<xsd:appinfo>

 binding declarations

</xsd:appinfo>

</xsd:annotation>



Discussion

No Comment Found