element <beans>
Namespace:
Type:
anonymous complexType
Content:
complex, 7 attributes, attr. wildcard, 4 elements, elem. wildcard
Defined:
Includes:
definitions of 7 attributes, attr. wildcard, 4 elements, elem. wildcard
Used:
never
Content Model Diagram
XML Representation Summary
<beans
    default-lazy-init
 = 
xsd:boolean : "false"
    default-merge
 = 
xsd:boolean : "false"
    default-autowire
 = 
("no" | "byName" | "byType" | "constructor" | "autodetect") : "no"
    default-dependency-check
 = 
("none" | "simple" | "objects" | "all") : "none"
    default-autowire-candidates
 = 
xsd:string
    default-init-method
 = 
xsd:string
    default-destroy-method
 = 
xsd:string
    {any attribute with non-schema namespace}
    >
   
Content: 
description?, (import | alias | bean | {any}*)*
</beans>
Content model elements (4):
Included in content model of elements (1):
Annotation
The top level (typically root) element. Allows the definition of default values for all nested bean definitions.
XML Source (w/o annotations (8); see within schema source)
<xsd:element name="beans">
<xsd:complexType>
<xsd:sequence>
<xsd:element minOccurs="0" ref="description"/>
<xsd:choice maxOccurs="unbounded" minOccurs="0">
<xsd:element ref="import"/>
<xsd:element ref="alias"/>
<xsd:element ref="bean"/>
<xsd:any maxOccurs="unbounded" minOccurs="0" namespace="##other" processContents="strict"/>
</xsd:choice>
</xsd:sequence>
<xsd:attribute default="false" name="default-lazy-init" type="xsd:boolean"/>
<xsd:attribute default="false" name="default-merge" type="xsd:boolean"/>
<xsd:attribute default="no" name="default-autowire">
<xsd:simpleType>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="no"/>
<xsd:enumeration value="byName"/>
<xsd:enumeration value="byType"/>
<xsd:enumeration value="constructor"/>
<xsd:enumeration value="autodetect"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute default="none" name="default-dependency-check">
<xsd:simpleType>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="none"/>
<xsd:enumeration value="simple"/>
<xsd:enumeration value="objects"/>
<xsd:enumeration value="all"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="default-autowire-candidates" type="xsd:string"/>
<xsd:attribute name="default-init-method" type="xsd:string"/>
<xsd:attribute name="default-destroy-method" type="xsd:string"/>
<xsd:anyAttribute namespace="##other" processContents="lax"/>
</xsd:complexType>
</xsd:element>
Attribute Detail (all declarations; defined in this component only; 8/8)
default-autowire
Type:
anonymous (restriction of xsd:NMTOKEN)
Use:
optional
The default 'autowire' value; see the documentation for the 'autowire' attribute of the '<bean>/' element.
Attribute Value
enumeration of xsd:NMTOKEN
Enumeration:
"no", "byName", "byType", "constructor", "autodetect"
Default:
"no"
Anonymous simpleType
Type Derivation Tree
xsd:NMTOKEN (restriction)
  simpleType
Derivation:
restriction of xsd:NMTOKEN
Facets:
enumeration:
"no", "byName", "byType", "constructor", "autodetect"
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute default="no" name="default-autowire">
<xsd:simpleType>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="no"/>
<xsd:enumeration value="byName"/>
<xsd:enumeration value="byType"/>
<xsd:enumeration value="constructor"/>
<xsd:enumeration value="autodetect"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>

default-autowire-candidates
Type:
xsd:string, predefined
Use:
optional
A default bean name pattern for identifying autowire candidates: e.g. "*Service", "data*", "*Service*", "data*Service". Also accepts a comma-separated list of patterns: e.g. "*Service,*Dao". See the documentation for the 'autowire-candidate' attribute of the '<bean/>' element for the semantic details of autowire candidate beans.
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute name="default-autowire-candidates" type="xsd:string"/>

default-dependency-check
Type:
anonymous (restriction of xsd:NMTOKEN)
Use:
optional
The default 'dependency-check' value; see the documentation for the 'dependency-check' attribute of the '<bean>/' element.
Attribute Value
enumeration of xsd:NMTOKEN
Enumeration:
"none", "simple", "objects", "all"
Default:
"none"
Anonymous simpleType
Type Derivation Tree
xsd:NMTOKEN (restriction)
  simpleType
Derivation:
restriction of xsd:NMTOKEN
Facets:
enumeration:
"none", "simple", "objects", "all"
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute default="none" name="default-dependency-check">
<xsd:simpleType>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="none"/>
<xsd:enumeration value="simple"/>
<xsd:enumeration value="objects"/>
<xsd:enumeration value="all"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>

default-destroy-method
Type:
xsd:string, predefined
Use:
optional
The default 'destroy-method' value; see the documentation for the 'destroy-method' attribute of the '<bean>/' element.
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute name="default-destroy-method" type="xsd:string"/>

default-init-method
Type:
xsd:string, predefined
Use:
optional
The default 'init-method' value; see the documentation for the 'init-method' attribute of the '<bean>/' element.
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute name="default-init-method" type="xsd:string"/>

default-lazy-init
Type:
xsd:boolean, predefined
Use:
optional
The default 'lazy-init' value; see the documentation for the 'lazy-init' attribute of the '<bean>/' element.
Attribute Value
Default:
"false"
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute default="false" name="default-lazy-init" type="xsd:boolean"/>

default-merge
Type:
xsd:boolean, predefined
Use:
optional
The default 'merge' value; see the documentation for the 'merge' attribute of the various collection elements.
Attribute Value
Default:
"false"
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute default="false" name="default-merge" type="xsd:boolean"/>

{any attribute with non-schema namespace}
XML Source (see within schema source)
<xsd:anyAttribute namespace="##other" processContents="lax"/>
Content Element Detail (all declarations; defined in this component only; 5/5)
alias
Type:
anonymous (restriction of xsd:anyType), empty content
XML Source (see within schema source)
<xsd:element ref="alias"/>

bean
Type:
anonymous (extension of identifiedType), complex content
XML Source (see within schema source)
<xsd:element ref="bean"/>

description
Type:
anonymous, mixed content
XML Source (see within schema source)
<xsd:element minOccurs="0" ref="description"/>

import
Type:
anonymous (restriction of xsd:anyType), empty content
XML Source (see within schema source)
<xsd:element ref="import"/>

{any element with non-schema namespace}
XML Source (see within schema source)
<xsd:any maxOccurs="unbounded" minOccurs="0" namespace="##other" processContents="strict"/>

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.