1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
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">
8 <xsd:import namespace="http://www.w3.org/XML/1998/namespace"/>
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>
17 <xsd:element name="annotation">
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"/>
24 <xsd:attribute name="kind" default="direct">
26 <xsd:restriction base="xsd:string">
27 <xsd:enumeration value="ref"/>
28 <xsd:enumeration value="direct"/>
35 <xsd:complexType name="typedParameterType">
36 <xsd:attribute name="type" type="xsd:string" use="required"/>
39 <xsd:complexType name="exportsType">
41 <xsd:documentation><![CDATA[
42 Indicates that an annotated type exports an application visible component.
43 ]]></xsd:documentation>
45 <xsd:attribute name="type" type="xsd:string">
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>
52 <xsd:attribute name="identifier" type="xsd:string" default="@id">
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>