element <constructor-arg>
Namespace:
Type:
anonymous complexType
Content:
complex, 3 attributes, 8 elements, elem. wildcard
Defined:
Includes:
definitions of 3 attributes, 8 elements, elem. wildcard
Used:
XML Representation Summary
<constructor-arg
    name
 = 
xsd:string
    ref
 = 
xsd:string
    value
 = 
xsd:string
    >
   
Content: 
description?, meta*, (bean | ref | value | null | list | map | {any})?
</constructor-arg>
Content model elements (8):
Included in content model of elements (1):
Known Usage Locations
Annotation
Bean definitions can specify zero or more constructor arguments. This is an alternative to "autowire constructor". Arguments correspond to either a specific index of the constructor argument list or are supposed to be matched generically by type. constructor-arg elements are also used in conjunction with the factory-method element to construct beans using instance factory methods.
See:  cfc:coldspring.beans.support.ConstructorArg
XML Source (see within schema source)
<xsd:element name="constructor-arg">
<xsd:annotation>
<xsd:documentation source="cfc:coldspring.beans.support.ConstructorArg">
<![CDATA[
Bean definitions can specify zero or more constructor arguments.
This is an alternative to "autowire constructor".
Arguments correspond to either a specific index of the constructor
argument list or are supposed to be matched generically by type.

constructor-arg elements are also used in conjunction with the
factory-method element to construct beans using instance
factory methods.
]]>
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element minOccurs="0" ref="description"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" ref="meta"/>
<xsd:choice maxOccurs="1" minOccurs="0">
<xsd:element ref="bean"/>
<xsd:element ref="ref"/>
<xsd:element ref="value"/>
<xsd:element ref="null"/>
<xsd:element ref="list"/>
<xsd:element ref="map"/>
<xsd:any namespace="##other" processContents="strict"/>
</xsd:choice>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>
<![CDATA[
The name of the constructor argument to be used when calling the init()
function of the specified bean.
]]>
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="ref" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
<![CDATA[
A short-cut alternative to a nested "<ref bean='...'/>" element.
]]>
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="value" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
<![CDATA[
A short-cut alternative to a nested "<value>...<value/>" element.
]]>
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
Attribute Detail (all declarations; 3)
name
Type:
xsd:string, predefined
Use:
required
Defined:
locally within (this) constructor-arg element
The name of the constructor argument to be used when calling the init() function of the specified bean.
XML Source (see within schema source)
<xsd:attribute name="name" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>
<![CDATA[
The name of the constructor argument to be used when calling the init()
function of the specified bean.
]]>
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>

ref
Type:
xsd:string, predefined
Use:
optional
Defined:
locally within (this) constructor-arg element
A short-cut alternative to a nested "<ref bean='...'/>" element.
XML Source (see within schema source)
<xsd:attribute name="ref" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
<![CDATA[
A short-cut alternative to a nested "<ref bean='...'/>" element.
]]>
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>

value
Type:
xsd:string, predefined
Use:
optional
Defined:
locally within (this) constructor-arg element
A short-cut alternative to a nested "<value>...<value/>" element.
XML Source (see within schema source)
<xsd:attribute name="value" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
<![CDATA[
A short-cut alternative to a nested "<value>...<value/>" element.
]]>
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
Content Element Detail (all declarations; 9)
bean
Type:
anonymous (extension of identifiedType), complex content
Defined:
by reference within (this) constructor-arg element
XML Source (see within schema source)
<xsd:element ref="bean"/>

description
Type:
anonymous, mixed content
Defined:
by reference within (this) constructor-arg element
XML Source (see within schema source)
<xsd:element minOccurs="0" ref="description"/>

list
Type:
anonymous (extension of listOrSetType), complex content
Defined:
by reference within (this) constructor-arg element
XML Source (see within schema source)
<xsd:element ref="list"/>

map
Type:
anonymous (extension of mapType), complex content
Defined:
by reference within (this) constructor-arg element
XML Source (see within schema source)
<xsd:element ref="map"/>

meta
Type:
metaType, empty content
Defined:
by reference within (this) constructor-arg element
XML Source (see within schema source)
<xsd:element maxOccurs="unbounded" minOccurs="0" ref="meta"/>

null
Type:
anonymous, mixed content
Defined:
by reference within (this) constructor-arg element
XML Source (see within schema source)
<xsd:element ref="null"/>

ref
Type:
anonymous (restriction of xsd:anyType), empty content
Defined:
by reference within (this) constructor-arg element
XML Source (see within schema source)
<xsd:element ref="ref"/>

value
Type:
xsd:string, predefined, simple content
Defined:
by reference within (this) constructor-arg element
XML Source (see within schema source)
<xsd:element ref="value"/>

{any element with non-schema namespace}
Defined:
within (this) constructor-arg element
XML Source (see within schema source)
<xsd:any namespace="##other" processContents="strict"/>

This XML schema documentation has been generated with DocFlex/XML RE 1.8.0 using DocFlex/XML XSDDoc 2.2.0 template set.
DocFlex/XML RE is a reduced edition of DocFlex/XML, which is a tool for programming and running highly sophisticated documentation and reports generators by the data obtained from any kind of XML files. The actual doc-generators are implemented in the form of special templates that are designed visually using a high quality Template Designer GUI basing on the XML schema (or DTD) files describing the data source XML.
DocFlex/XML XSDDoc is a commercial template application of DocFlex/XML that implements a high-end XML Schema documentation generator with simultaneous support of framed multi-file HTML, single-file HTML and RTF output formats. (More formats are planned in the future).
A commercial license for "DocFlex/XML XSDDoc" will allow you:
  • To configure the generated documentation so much as you want. Thanks to our template technology, it was possible to support more than 300 template parameters (working the same as "options" of an ordinary doc-gen), which will give you an unprecedented control over the generated content!
  • To use certain features disabled in the free mode (such as the full documenting of substitution groups).
  • To enable/disable documenting of the initial, imported, included and redefined XML schemas selectively.
  • To document local element components both globally and locally (similar to attributes).
  • To enable/disable reproducing of namespace prefixes.
  • To format your annotations with XHTML tags and reproduce that formatting both in HTML and RTF output.
  • To insert images in your annotations using XHTML <img> tags (supported both in HTML and RTF output).
  • To use PlainDoc.tpl main template to generate all the XML schema documentation in the form of a single HTML file.
  • To use the same template to generate the incredible quality RTF documentation.
  • To document only selected XML schema components specified by name.
  • To remove this very advertisement text
Once having only such a license, you will be able to run the fully-featured XML schema documentation generator both with DocFlex/XML SDK and with DocFlex/XML RE, which is a reduced free edition containing only the template interpretor / output generator. No other licenses will be required!
But this is not all. In addition to it, a commercial license for DocFlex/XML SDK will allow you to modify the XSDDoc templates themselves as much as you want. You will be able to achieve whatever was impossible to do with the template parameters only. And, of course, you could develop any template applications by your own!
Please note: By purchasing a license for this software, you not only acquire a useful tool, you will also make an important investment in its future development, the result of which you could enjoy later by yourself. Every single your purchase matters and makes a difference for us!
To buy a license, please follow this link: http://www.filigris.com/shop/