element <ref>
Namespace:
Type:
anonymous (restriction of xsd:anyType)
Content:
empty, 3 attributes
Defined:
globally in spring-beans.xsd; see XML source
Includes:
definitions of 3 attributes
Used:
never
Content Model Diagram
XML Representation Summary
<ref
    bean
 = 
xsd:string
    local
 = 
xsd:IDREF
    parent
 = 
xsd:string
/>
Included in content model of elements (23):
Annotation
Defines a reference to another bean in this factory or an external factory (parent or included factory).
Anonymous Type Detail
Type Derivation Tree
xsd:anyType (restriction)
  complexType
XML Source (w/o annotations (4); see within schema source)
<xsd:element name="ref">
<xsd:complexType>
<xsd:complexContent>
<xsd:restriction base="xsd:anyType">
<xsd:attribute name="bean" type="xsd:string"/>
<xsd:attribute name="local" type="xsd:IDREF"/>
<xsd:attribute name="parent" type="xsd:string"/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
Attribute Detail (all declarations; defined in this component only; 3/3)
bean
Type:
xsd:string, predefined
Use:
optional
The name of the referenced bean.
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute name="bean" type="xsd:string"/>

local
Type:
xsd:IDREF, predefined
Use:
optional
The name of the referenced bean. The value must be a bean ID and thus can be checked by the XML parser. This is therefore the preferred technique for referencing beans within the same bean factory XML file.
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute name="local" type="xsd:IDREF"/>

parent
Type:
xsd:string, predefined
Use:
optional
The name of the referenced bean in a parent factory.
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute name="parent" type="xsd:string"/>

XML schema documentation generated with DocFlex/XML SDK 1.8.1b6 using DocFlex/XML XSDDoc 2.2.1 template set. All content model diagrams generated by Altova XMLSpy via DocFlex/XML XMLSpy Integration.