Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Standard view
Full view
of .
Look up keyword or section
Like this

Table Of Contents

1.1 About JAXB
1.2 Overview
1.3 Hello World
2.1 XML Schema Types
2.2.1 Defining an Integer Range Type
2.2.2 Numeric Types
2.2.3 Defining a String with Length Limits
2.2.4 Defining a String Type Restricted By Pattern
2.2.5 Date and Time
2.2.6 Binary Data
2.2.7 Defining a List of Integers
2.2.8 Defining Other Lists
2.2.9 Defining an Enumeration
2.2.10 Defining a Type Union
2.2.11 Defining Types for XML Elements Without Content Content: A Value Content: An Ordered Set of Elements Content: An Unordered Set of Elements Content: Alternative Elements Content: A Homogeneous List of Elements Content: A Mixed List of Elements Mixed Content No Value
2.2.13 Defining Subtypes
2.2.14 Substitution Groups
2.2.15 Referring to Another XML Element DOM Elements Another Content Tree as Element
2.2.17 Image Data
2.3.1 Don't Use Anonymous Types
2.3.2 Common Schema Definitions
2.3.3 A Note on Groups
2.3.4 Conserving Compatibility
2.3.5 Spurious Classes
2.3.6 Avoid Unnecessary JAXBElement<?>
3.1 Unmarshalling
3.2 Using the Element Tree
3.3 Validation
3.4 Validation Event Handling
3.5 The JAXB Context
4.1 The Object Factory
4.2 Assembling Document Tree Nodes
4.3.1 One Element per Identification
4.3.2 Preserving Object Identity
4.4 Last Resort: Assembling a Java Object
4.5 Calling marshal
5.1 Reasons for Customizing
5.2 Defining Package Names
5.3 Overriding Names
5.4 Adding Documentation
5.5 Interning Strings
5.6.1 Replacing the Conversions
5.6.2 Replacing a Simple Type
6.1 How a Schema Mapping Is Implemented
6.2.1 Top-level Elements: XmlRootElement
6.2.2 Annotation for Classes: XmlType
6.2.3 Annotations for the Schema: XmlSchema
6.2.4 The Object Factory: XmlRegistry, XmlElementDecl
6.2.5 Controlling Element Selection: XmlAccessorType, XmlTransient
6.2.6 Class Inclusion: XmlSeeAlso The Annotation XmlElement The Annotation XmlList Mapping a Class to Simple Content or Simple Type: XmlValue Collecting Unspecified Attributes: XmlAnyAttribute Collecting Unspecified Elements: XmlAnyElement Wrapping Repeated Elements: XmlElementWrapper Annotations for Mixed Content: XmlElementRef, XmlMixed
6.2.8 Annotations for Enums: XmlEnum, XmlEnumValue
6.2.9 Type Adapters: XmlJavaTypeAdapter
6.2.10 Type Mapping: XmlSchemaType
6.2.11 Annotations for Object References: XmlID, XmlIDREF
0 of .
Results for:
No results containing your search query
P. 1
A JAXB Tutorial

A JAXB Tutorial

Ratings: (0)|Views: 1,469 |Likes:
Published by Nilanjan Sil

More info:

Published by: Nilanjan Sil on Jan 07, 2012
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less





You're Reading a Free Preview
Pages 4 to 80 are not shown in this preview.
You're Reading a Free Preview
Pages 82 to 92 are not shown in this preview.

Activity (5)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
murthy_oct24 liked this
murthy_oct24 liked this
good_crimp liked this

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->