10.12.2012 Views

The Java EE 5 Tutorial (PDF) - Oracle Software Downloads

The Java EE 5 Tutorial (PDF) - Oracle Software Downloads

The Java EE 5 Tutorial (PDF) - Oracle Software Downloads

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

FIGURE 17–3 Customization Scope Inheritance and Precedence<br />

Customization Syntax<br />

<strong>The</strong> syntax for the four types of JAXB binding declarations, as well as the syntax for the<br />

XML-to-<strong>Java</strong> data type binding declarations and the customization namespace prefix, are<br />

described below.<br />

■ “Global Binding Declarations” on page 517<br />

■ “Schema Binding Declarations” on page 519<br />

■ “Class Binding Declarations” on page 519<br />

■ “Property Binding Declarations” on page 520<br />

■ “javaType Binding Declarations” on page 521<br />

■ “Typesafe Enumeration Binding Declarations” on page 522<br />

■ “javadoc Binding Declarations” on page 523<br />

Global Binding Declarations<br />

Component<br />

Scope<br />

Definition Scope<br />

Schema Scope<br />

Global Scope<br />

Customizing JAXB Bindings<br />

Global scope customizations are declared with . <strong>The</strong> syntax for global scope<br />

customizations is as follows:<br />

Chapter 17 • Binding between XML Schema and <strong>Java</strong> Classes 517

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!