Salome HOME
94f40e8ecb7226f3baa49df646ebc278287a2ca6
[tools/siman.git] / Workspace / 3dparty_src / spring / schema / spring-tool-2.0.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:sequence>
24                         <xsd:attribute name="kind" default="direct">
25                                 <xsd:simpleType>
26                                         <xsd:restriction base="xsd:string">
27                                                 <xsd:enumeration value="ref"/>
28                                                 <xsd:enumeration value="direct"/>
29                                         </xsd:restriction>
30                                 </xsd:simpleType>
31                         </xsd:attribute>
32                 </xsd:complexType>
33         </xsd:element>
34
35         <xsd:complexType name="typedParameterType">
36                 <xsd:attribute name="type" type="xsd:string" use="required"/>
37         </xsd:complexType>
38
39         <xsd:complexType name="exportsType">
40                 <xsd:annotation>
41                         <xsd:documentation><![CDATA[
42         Indicates that an annotated type exports an application visible component.
43                 ]]></xsd:documentation>
44                 </xsd:annotation>
45                 <xsd:attribute name="type" type="xsd:string">
46                         <xsd:annotation>
47                                 <xsd:documentation><![CDATA[
48         The type of the exported component. May be null if the type is not known until runtime.
49                 ]]></xsd:documentation>
50                         </xsd:annotation>
51                 </xsd:attribute>
52                 <xsd:attribute name="identifier" type="xsd:string" default="@id">
53                         <xsd:annotation>
54                                 <xsd:documentation><![CDATA[
55         Defines an XPath query that can be executed against the node annotated with this
56         type to determine the identifier of any exported component.
57                 ]]></xsd:documentation>
58                         </xsd:annotation>
59                 </xsd:attribute>
60         </xsd:complexType>
61
62 </xsd:schema>