]> SALOME platform Git repositories - tools/siman.git/blob - Workspace/3dparty_src/spring/schema/spring-tool-2.5.xsd
Salome HOME
*** empty log message ***
[tools/siman.git] / Workspace / 3dparty_src / spring / schema / spring-tool-2.5.xsd
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
3 <xsd:schema xmlns="http://www.springframework.org/schema/tool"
4                 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
5                 targetNamespace="http://www.springframework.org/schema/tool"
6                 elementFormDefault="qualified">
7
8         <xsd:import namespace="http://www.w3.org/XML/1998/namespace"/>
9
10         <xsd:annotation>
11                 <xsd:documentation><![CDATA[
12         Defines the tool support annotations for Spring's configuration namespaces.
13         Used in other namespace XSD files; not intended for direct use in config files.
14                 ]]></xsd:documentation>
15         </xsd:annotation>
16
17         <xsd:element name="annotation">
18                 <xsd:complexType>
19                         <xsd:sequence minOccurs="0">
20                                 <xsd:element name="expected-type" type="typedParameterType" minOccurs="0" maxOccurs="1"/>
21                                 <xsd:element name="assignable-to" type="typedParameterType" minOccurs="0" maxOccurs="1"/>
22                                 <xsd:element name="exports" type="exportsType" minOccurs="0" maxOccurs="1"/>
23                                 <xsd:element name="registers-scope" type="registersScopeType" minOccurs="0" maxOccurs="unbounded"/>
24                         </xsd:sequence>
25                         <xsd:attribute name="kind" default="direct">
26                                 <xsd:simpleType>
27                                         <xsd:restriction base="xsd:string">
28                                                 <xsd:enumeration value="ref"/>
29                                                 <xsd:enumeration value="direct"/>
30                                         </xsd:restriction>
31                                 </xsd:simpleType>
32                         </xsd:attribute>
33                 </xsd:complexType>
34         </xsd:element>
35
36         <xsd:complexType name="typedParameterType">
37                 <xsd:attribute name="type" type="xsd:string" use="required"/>
38         </xsd:complexType>
39
40         <xsd:complexType name="exportsType">
41                 <xsd:annotation>
42                         <xsd:documentation><![CDATA[
43         Indicates that an annotated type exports an application visible component.
44                 ]]></xsd:documentation>
45                 </xsd:annotation>
46                 <xsd:attribute name="type" type="xsd:string">
47                         <xsd:annotation>
48                                 <xsd:documentation><![CDATA[
49         The type of the exported component. May be null if the type is not known until runtime.
50                 ]]></xsd:documentation>
51                         </xsd:annotation>
52                 </xsd:attribute>
53                 <xsd:attribute name="identifier" type="xsd:string" default="@id">
54                         <xsd:annotation>
55                                 <xsd:documentation><![CDATA[
56         Defines an XPath query that can be executed against the node annotated with this
57         type to determine the identifier of any exported component.
58                 ]]></xsd:documentation>
59                         </xsd:annotation>
60                 </xsd:attribute>
61         </xsd:complexType>
62
63         <xsd:complexType name="registersScopeType">
64                 <xsd:attribute name="name" type="xsd:string" use="required">
65                         <xsd:annotation>
66                                 <xsd:documentation><![CDATA[
67         Defines the name of a custom bean scope that the annotated type registers, e.g. "conversation".
68         Such a scope will be available in addition to the standard "singleton" and "prototype" scopes
69         (plus "request", "session" and "globalSession" in a web application environment).
70                 ]]></xsd:documentation>
71                         </xsd:annotation>
72                 </xsd:attribute>
73         </xsd:complexType>
74
75 </xsd:schema>