element <idref> (global)
Namespace:
Type:
anonymous complexType (restriction of xsd:anyType)
Content:
empty, 2 attributes
Defined:
globally in spring-beans.xsd; see XML source
Includes:
definitions of 2 attributes
Used:
never
Content Model Diagram
XML Representation Summary
<idref
   
 = 
xsd:string
 = 
xsd:string
/>
Included in content model of elements (16):
array, array, constructor-arg, constructor-arg, context-property, entry, entry, key, key, list, list, property, property, recipients, set, set
Annotation
The id of another bean in this factory or an external factory (parent or included factory). While a regular 'value' element could instead be used for the same effect, using idref indicates that the Spring container should check that the value actually corresponds to a bean id.
Anonymous Type Detail
Type Derivation Tree
xsd:anyType (restriction)
  complexType
XML Source (w/o annotations (3); see within schema source)
<xsd:element name="idref">
<xsd:complexType>
<xsd:complexContent>
<xsd:restriction base="xsd:anyType">
<xsd:attribute name="bean" type="xsd:string"/>
<xsd:attribute name="local" type="xsd:string"/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
Attribute Detail (all declarations; defined within this component only; 2/2)
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:string, predefined
Use:
optional
The name of the referenced bean. The value must be a bean ID and will be checked by the Spring container. 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:string"/>

XML schema documentation generated with DocFlex/XML RE 1.8.5 using DocFlex/XML XSDDoc 2.5.0 template set. All content model diagrams generated by Altova XMLSpy via DocFlex/XML XMLSpy Integration.