Salome HOME
*** empty log message ***
[tools/siman.git] / Workspace / 3dparty_src / spring / schema / spring-util-2.0.xsd
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
3 <xsd:schema xmlns="http://www.springframework.org/schema/util"
4                 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
5                 xmlns:beans="http://www.springframework.org/schema/beans"
6                 xmlns:tool="http://www.springframework.org/schema/tool"
7                 targetNamespace="http://www.springframework.org/schema/util"
8                 elementFormDefault="qualified"
9                 attributeFormDefault="unqualified">
10
11         <xsd:import namespace="http://www.springframework.org/schema/beans" schemaLocation="http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"/>
12         <xsd:import namespace="http://www.springframework.org/schema/tool" schemaLocation="http://www.springframework.org/schema/tool/spring-tool-2.0.xsd"/>
13
14         <xsd:element name="constant">
15                 <xsd:annotation>
16                         <xsd:documentation>
17         Reference a public, static field on a type and expose its value as
18         a bean. For example <code>&lt;util:constant static-field=&quot;java.lang.Integer.MAX_VALUE&quot;/&gt;</code>.
19                         </xsd:documentation>
20                 </xsd:annotation>
21                 <xsd:complexType>
22                         <xsd:attribute name="id" type="xsd:ID"/>
23                         <xsd:attribute name="static-field" type="xsd:string" use="required"/>
24                 </xsd:complexType>
25         </xsd:element>
26
27         <xsd:element name="property-path">
28                 <xsd:annotation>
29                         <xsd:documentation>
30         Reference a property on a bean (or as a nested value) and expose its values as
31         a bean. For example &lt;util:property-path path=&quot;order.customer.name&quot;/&gt;.
32                         </xsd:documentation>
33                 </xsd:annotation>
34                 <xsd:complexType>
35                         <xsd:attribute name="id" type="xsd:ID"/>
36                         <xsd:attribute name="path" type="xsd:string" use="required"/>
37                 </xsd:complexType>
38         </xsd:element>
39
40         <xsd:element name="list">
41                 <xsd:annotation>
42                         <xsd:documentation source="java:org.springframework.beans.factory.config.ListFactoryBean">
43         Builds a List instance of the specified type, populated with the specified content.
44                         </xsd:documentation>
45                         <xsd:appinfo>
46                                 <tool:annotation>
47                                         <tool:exports type="java.util.List"/>
48                                 </tool:annotation>
49                         </xsd:appinfo>
50                 </xsd:annotation>
51                 <xsd:complexType>
52                         <xsd:complexContent>
53                                 <xsd:extension base="beans:listOrSetType">
54                                         <xsd:attribute name="id" type="xsd:ID"/>
55                                         <xsd:attribute name="list-class" type="xsd:string">
56                                                 <xsd:annotation>
57                                                         <xsd:appinfo>
58                                                                 <tool:annotation>
59                                                                         <tool:expected-type type="java.lang.Class"/>
60                                                                         <tool:assignable-to type="java.util.List"/>
61                                                                 </tool:annotation>
62                                                         </xsd:appinfo>
63                                                 </xsd:annotation>
64                                         </xsd:attribute>
65                                         <xsd:attribute name="scope" type="xsd:string">
66                                                 <xsd:annotation>
67                                                         <xsd:documentation><![CDATA[
68         The scope of this collection bean: typically "singleton" (one shared instance,
69         which will be returned by all calls to getBean with the given id), or
70         "prototype" (independent instance resulting from each call to getBean).
71         Default is "singleton". Further scopes, such as "request" or "session",
72         might be supported by extended bean factories (e.g. in a web environment).
73                                                         ]]></xsd:documentation>
74                                                 </xsd:annotation>
75                                         </xsd:attribute>
76                                 </xsd:extension>
77                         </xsd:complexContent>
78                 </xsd:complexType>
79         </xsd:element>
80
81         <xsd:element name="set">
82                 <xsd:annotation>
83                         <xsd:documentation source="java:org.springframework.beans.factory.config.SetFactoryBean">
84         Builds a Set instance of the specified type, populated with the specified content.
85                         </xsd:documentation>
86                         <xsd:appinfo>
87                                 <tool:annotation>
88                                         <tool:exports type="java.util.Set"/>
89                                 </tool:annotation>
90                         </xsd:appinfo>
91                 </xsd:annotation>
92                 <xsd:complexType>
93                         <xsd:complexContent>
94                                 <xsd:extension base="beans:listOrSetType">
95                                         <xsd:attribute name="id" type="xsd:ID"/>
96                                         <xsd:attribute name="set-class" type="xsd:string">
97                                                 <xsd:annotation>
98                                                         <xsd:appinfo>
99                                                                 <tool:annotation>
100                                                                         <tool:expected-type type="java.lang.Class"/>
101                                                                         <tool:assignable-to type="java.util.Set"/>
102                                                                 </tool:annotation>
103                                                         </xsd:appinfo>
104                                                 </xsd:annotation>
105                                         </xsd:attribute>
106                                         <xsd:attribute name="scope" type="xsd:string">
107                                                 <xsd:annotation>
108                                                         <xsd:documentation><![CDATA[
109         The scope of this collection bean: typically "singleton" (one shared instance,
110         which will be returned by all calls to getBean with the given id), or
111         "prototype" (independent instance resulting from each call to getBean).
112         Default is "singleton". Further scopes, such as "request" or "session",
113         might be supported by extended bean factories (e.g. in a web environment).
114                                                         ]]></xsd:documentation>
115                                                 </xsd:annotation>
116                                         </xsd:attribute>
117                                 </xsd:extension>
118                         </xsd:complexContent>
119                 </xsd:complexType>
120         </xsd:element>
121
122         <xsd:element name="map">
123                 <xsd:annotation>
124                         <xsd:documentation source="java:org.springframework.beans.factory.config.MapFactoryBean">
125         Builds a Map instance of the specified type, populated with the specified content.
126                         </xsd:documentation>
127                         <xsd:appinfo>
128                                 <tool:annotation>
129                                         <tool:exports type="java.util.Map"/>
130                                 </tool:annotation>
131                         </xsd:appinfo>
132                 </xsd:annotation>
133                 <xsd:complexType>
134                         <xsd:complexContent>
135                                 <xsd:extension base="beans:mapType">
136                                         <xsd:attribute name="id" type="xsd:ID"/>
137                                         <xsd:attribute name="map-class" type="xsd:string">
138                                                 <xsd:annotation>
139                                                         <xsd:appinfo>
140                                                                 <tool:annotation>
141                                                                         <tool:expected-type type="java.lang.Class"/>
142                                                                         <tool:assignable-to type="java.util.Map"/>
143                                                                 </tool:annotation>
144                                                         </xsd:appinfo>
145                                                 </xsd:annotation>
146                                         </xsd:attribute>
147                                         <xsd:attribute name="scope" type="xsd:string">
148                                                 <xsd:annotation>
149                                                         <xsd:documentation><![CDATA[
150         The scope of this collection bean: typically "singleton" (one shared instance,
151         which will be returned by all calls to getBean with the given id), or
152         "prototype" (independent instance resulting from each call to getBean).
153         Default is "singleton". Further scopes, such as "request" or "session",
154         might be supported by extended bean factories (e.g. in a web environment).
155                                                         ]]></xsd:documentation>
156                                                 </xsd:annotation>
157                                         </xsd:attribute>
158                                 </xsd:extension>
159                         </xsd:complexContent>
160                 </xsd:complexType>
161         </xsd:element>
162
163         <xsd:element name="properties">
164                 <xsd:annotation>
165                         <xsd:documentation source="java:org.springframework.beans.factory.config.PropertiesFactoryBean">
166         Loads a Properties instance from the resource location specified by the '<code>location</code>' attribute.
167                         </xsd:documentation>
168                         <xsd:appinfo>
169                                 <tool:annotation>
170                                         <tool:exports type="java.util.Properties"/>
171                                 </tool:annotation>
172                         </xsd:appinfo>
173                 </xsd:annotation>
174                 <xsd:complexType>
175                         <xsd:complexContent>
176                                 <xsd:extension base="beans:propsType">
177                                         <xsd:attribute name="id" type="xsd:ID"/>
178                                         <xsd:attribute name="location" type="xsd:string">
179                                                 <xsd:annotation>
180                                                         <xsd:appinfo>
181                                                                 <tool:annotation>
182                                                                         <tool:expected-type type="org.springframework.core.io.Resource"/>
183                                                                 </tool:annotation>
184                                                         </xsd:appinfo>
185                                                 </xsd:annotation>
186                                         </xsd:attribute>
187                                         <xsd:attribute name="scope" type="xsd:string">
188                                                 <xsd:annotation>
189                                                         <xsd:documentation><![CDATA[
190         The scope of this collection bean: typically "singleton" (one shared instance,
191         which will be returned by all calls to getBean with the given id), or
192         "prototype" (independent instance resulting from each call to getBean).
193         Default is "singleton". Further scopes, such as "request" or "session",
194         might be supported by extended bean factories (e.g. in a web environment).
195                                                         ]]></xsd:documentation>
196                                                 </xsd:annotation>
197                                         </xsd:attribute>
198                                 </xsd:extension>
199                         </xsd:complexContent>
200                 </xsd:complexType>
201         </xsd:element>
202
203 </xsd:schema>