Salome HOME
c8442c5a0b414835af10df005b15e526037fe3c0
[tools/siman.git] / Workspace / 3dparty_src / spring / schema / spring-oxm-3.0.xsd
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <xsd:schema xmlns="http://www.springframework.org/schema/oxm" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
3                         xmlns:beans="http://www.springframework.org/schema/beans"
4                         xmlns:tool="http://www.springframework.org/schema/tool"
5                         targetNamespace="http://www.springframework.org/schema/oxm" elementFormDefault="qualified"
6                         attributeFormDefault="unqualified">
7
8         <xsd:import namespace="http://www.springframework.org/schema/beans" schemaLocation="http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"/>
9         <xsd:import namespace="http://www.springframework.org/schema/tool" schemaLocation="http://www.springframework.org/schema/tool/spring-tool-3.0.xsd"/>
10
11     <xsd:annotation>
12         <xsd:documentation>
13             Defines the elements used in Spring's Object/XML Mapping integration.
14         </xsd:documentation>
15     </xsd:annotation>
16
17     <xsd:element name="jaxb2-marshaller">
18         <xsd:complexType>
19             <xsd:annotation>
20                 <xsd:documentation source="java:org.springframework.oxm.jaxb.Jaxb2Marshaller">
21                     Defines a JAXB2 Marshaller.
22                 </xsd:documentation>
23                 <xsd:appinfo>
24                     <tool:annotation>
25                         <tool:exports type="org.springframework.oxm.jaxb.Jaxb2Marshaller"/>
26                     </tool:annotation>
27                 </xsd:appinfo>
28             </xsd:annotation>
29             <xsd:complexContent>
30                 <xsd:extension base="beans:identifiedType">
31                     <xsd:sequence>
32                         <xsd:element name="class-to-be-bound" minOccurs="0" maxOccurs="unbounded">
33                             <xsd:complexType>
34                                 <xsd:attribute name="name" type="classType" use="required"/>
35                             </xsd:complexType>
36                         </xsd:element>
37                     </xsd:sequence>
38                     <xsd:attribute name="contextPath" type="xsd:string">
39                         <xsd:annotation>
40                             <xsd:documentation>The JAXB Context path</xsd:documentation>
41                         </xsd:annotation>
42                     </xsd:attribute>
43                 </xsd:extension>
44             </xsd:complexContent>
45         </xsd:complexType>
46     </xsd:element>
47
48     <xsd:element name="jibx-marshaller">
49         <xsd:complexType>
50             <xsd:annotation>
51                 <xsd:documentation source="java:org.springframework.oxm.jibx.JibxMarshaller">
52                     Defines a JiBX Marshaller.
53                 </xsd:documentation>
54                 <xsd:appinfo>
55                     <tool:annotation>
56                         <tool:exports type="org.springframework.oxm.jibx.JibxMarshaller"/>
57                     </tool:annotation>
58                 </xsd:appinfo>
59             </xsd:annotation>
60             <xsd:complexContent>
61                 <xsd:extension base="beans:identifiedType">
62                     <xsd:attribute name="target-class" type="classType" use="required"/>
63                     <xsd:attribute name="bindingName" type="xsd:string">
64                         <xsd:annotation>
65                             <xsd:documentation>The binding name used by this marshaller.</xsd:documentation>
66                         </xsd:annotation>
67                     </xsd:attribute>
68                 </xsd:extension>
69             </xsd:complexContent>
70         </xsd:complexType>
71     </xsd:element>
72
73     <xsd:element name="xmlbeans-marshaller">
74         <xsd:complexType>
75             <xsd:annotation>
76                 <xsd:documentation source="java:org.springframework.oxm.xmlbeans.XmlBeansMarshaller">
77                     Defines a XMLBeans Marshaller.
78                 </xsd:documentation>
79                 <xsd:appinfo>
80                     <tool:annotation>
81                         <tool:exports type="org.springframework.oxm.xmlbeans.XmlBeansMarshaller"/>
82                     </tool:annotation>
83                 </xsd:appinfo>
84             </xsd:annotation>
85             <xsd:complexContent>
86                 <xsd:extension base="beans:identifiedType">
87                     <xsd:attribute name="options" type="xsd:string">
88                         <xsd:annotation>
89                             <xsd:documentation source="java:org.apache.xmlbeans.XmlOptions">
90                                 The bean name of the XmlOptions that is to be used for this marshaller. Typically a
91                                 XmlOptionsFactoryBean definition.
92                             </xsd:documentation>
93                             <xsd:appinfo>
94                                 <tool:annotation kind="ref">
95                                     <tool:expected-type type="org.apache.xmlbeans.XmlOptions"/>
96                                 </tool:annotation>
97                             </xsd:appinfo>
98                         </xsd:annotation>
99                     </xsd:attribute>
100                 </xsd:extension>
101             </xsd:complexContent>
102         </xsd:complexType>
103     </xsd:element>
104
105     <xsd:simpleType name="classType">
106         <xsd:annotation>
107             <xsd:documentation source="java:java.lang.Class">A class supported by a marshaller.</xsd:documentation>
108             <xsd:appinfo>
109                 <tool:annotation kind="direct">
110                     <tool:expected-type type="java.lang.Class"/>
111                                         <tool:assignable-to restriction="class-only" />
112                 </tool:annotation>
113             </xsd:appinfo>
114         </xsd:annotation>
115         <xsd:union memberTypes="xsd:string"/>
116     </xsd:simpleType>
117
118 </xsd:schema>