Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "EclipseLink/UserGuide/MOXy/Simple Values/Collections/XMLDirectCollectionMapping"

(New page: {{EclipseLink_UserGuide |info=y |api=y |apis= * [http://www.eclipse.org/eclipselink/api/latest/javax/xml/bind/annotation/XmlAttribute.html XmlAttribute] * [http://www.eclipse.org/eclipseli...)
 
m (Replacing page with 'Please see http://www.eclipse.org/eclipselink/documentation/2.4/moxy/simple_values002.htm')
 
(43 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{EclipseLink_UserGuide
+
Please see http://www.eclipse.org/eclipselink/documentation/2.4/moxy/simple_values002.htm
|info=y
+
|api=y
+
|apis= * [http://www.eclipse.org/eclipselink/api/latest/javax/xml/bind/annotation/XmlAttribute.html XmlAttribute]
+
* [http://www.eclipse.org/eclipselink/api/latest/javax/xml/bind/annotation/XmlElement.html XmlElement]
+
* [http://www.eclipse.org/eclipselink/api/latest/javax/xml/bind/annotation/XmlValue.html XmlValue]
+
|toc=y
+
}}
+
=XML Direct Collection Mappings=
+
XML direct mappings map a Java attribute directly to XML text nodes. You can use an XML direct mapping in the following scenarios:
+
* [[#Mapping to an Attribute|Mapping to an Attribute]]
+
* [[#Mapping to a Text Node|Mapping to a Text Node]]
+
* [[#Mapping to a Specified Schema Type|Mapping to a Specified Schema Type]]
+
* [[#Mapping to a List Field with an XML Direct Mapping|Mapping to a List Field with an XML Direct Mapping]]
+
* [[#Mapping with a Simple Type Translator|Mapping with a Simple Type Translator]]
+
* [[#Mapping to a Union Field with an XML Direct Mapping|Mapping to a Union Field with an XML Direct Mapping]]
+
* [[#Mapping to a Union of Lists with an XML Direct Mapping|Mapping to a Union of Lists with an XML Direct Mapping]]
+
* [[#Mapping to a Union of Unions with an XML Direct Mapping|Mapping to a Union of Unions with an XML Direct Mapping]]
+
 
+
 
+
==Mapping to an Attribute==
+

Latest revision as of 10:17, 8 November 2012

Please see http://www.eclipse.org/eclipselink/documentation/2.4/moxy/simple_values002.htm

Back to the top