Namespace: |
|
Content: |
complex, 6 attributes, 6 elements |
Defined: |
globally in jpdl-4.0.xsd, see XML source |
Includes: |
definitions of 6 attributes and 6 elements |
Used: |
at 5 locations |
| XML Representation Summary | |||||
| <... | |||||
| auto-wire | = |
string | |||
| class | = |
string | |||
| expr | = |
string | |||
| factory | = |
string | |||
| lang | = |
string | |||
| method | = |
string | |||
| > | |||||
|
|||||
| </...> | |||||
tns:constructor (type anonymous), tns:factory (type anonymous), |
tns:field (type anonymous), tns:invoke (type anonymous), tns:property (type anonymous) |
| <complexType name="wireObjectType"> <annotation> <documentation> Any java object that will be created by reflection. . <p> There are three main ways to create an object: by constructor or by a factory object or a static factory method. </p> <p> <b>Using the constructor</b> : Then the <code>class</code> attribute must provide the fully qualified class name. In case another constructor then the default is targetted, a <code>constructor</code> child element can be provided. The <code>factory</code> attribute should not be provided for using a constructor. </p> <p> <b>Using a factory</b> : Then the <code>factory</code> attribute or one <code>factory</code> element must be provided along with the attribute <code>method</code> . </p> <p> <b>Using a static factory method</b> : Then the <code>class</code> and <code>method</code> attributes should be specified. There should be no reference to a <code>factory</code> attribute of element. </p> <p> <b>Construction and initialization</b> : all objects (constructor and factory) are build in two phases: construction and initialisation phase. During construction all is done until a pointer is obtained to the object. In initialisation, operations are applied to the object until it is ready to be used. The separation between construction and initialisation is made to allow for bidirectional references. In that case, at least one of both ends can not be fully initialised before it is injected into the other end. </p> <p> <b>Operations</b> : after construction, various operations can be applied to objects like e.g. direct field injection, injection through setters, method invocation, enlist with the standard transaction, subscribe the object as a listener to an observable </p> <p> <b>Arguments</b> : There are two different places for arguments. The <code>arg</code> elements for the factory method invocation should be placed as child elements under the <code>object</code> element. The <code>arg</code> elements for the constructor should be placed as child elements under the <code>constructor</code> element. </p> </documentation> </annotation> <choice maxOccurs="unbounded" minOccurs="0"> <annotation> <documentation> Contains one element that describes the factory object. </documentation> </annotation> <complexType> </complexType> </element> <annotation> <documentation> Specifies the arguments to use for a non-default constructor. </documentation> </annotation> <complexType> <choice maxOccurs="unbounded"> </choice> </complexType> </element> <annotation> <documentation>The factory method arguments.</documentation> </annotation> </element> <annotation> <documentation> Injects a value into a member field of this object. Exactly one child element must specify the value. </documentation> </annotation> <complexType> <annotation> <documentation>The member field name</documentation> </annotation> </attribute> </complexType> </element> <annotation> <documentation> Injects a value through a setter method. Exactly one child element must specify the value. </documentation> </annotation> <complexType> <annotation> <documentation> The name of the property (without the 'set' prefix) </documentation> </annotation> </attribute> </complexType> </element> <annotation> <documentation>Invokes a method</documentation> </annotation> <complexType> <choice maxOccurs="unbounded" minOccurs="0"> </choice> <annotation> <documentation>the method name</documentation> </annotation> </attribute> </complexType> </element> </choice> <annotation> <documentation>The fully qualified class name</documentation> </annotation> </attribute> <annotation> <documentation> The class to instantiate. </documentation> </annotation> </attribute> <annotation> <documentation> The class to instantiate. </documentation> </annotation> </attribute> <annotation> <documentation>The name of the factory object</documentation> </annotation> </attribute> <annotation> <documentation>The factory method name</documentation> </annotation> </attribute> <annotation> <documentation> Indicates if the member fields and setter properties should be automatically wired based on matching the property names and types with the object names and types </documentation> </annotation> </attribute> </complexType> |
Type: |
string, predefined |
Use: |
optional |
Defined: |
| <attribute name="auto-wire" type="string"> <annotation> <documentation> Indicates if the member fields and setter properties should be automatically wired based on matching the property names and types with the object names and types </documentation> </annotation> </attribute> |
Type: |
string, predefined |
Use: |
optional |
Defined: |
| <attribute name="class" type="string"> <annotation> <documentation>The fully qualified class name</documentation> </annotation> </attribute> |
Type: |
string, predefined |
Use: |
optional |
Defined: |
| <attribute name="expr" type="string"> <annotation> <documentation> The class to instantiate. </documentation> </annotation> </attribute> |
Type: |
string, predefined |
Use: |
optional |
Defined: |
| <attribute name="factory" type="string"> <annotation> <documentation>The name of the factory object</documentation> </annotation> </attribute> |
Type: |
string, predefined |
Use: |
optional |
Defined: |
| <attribute name="lang" type="string"> <annotation> <documentation> The class to instantiate. </documentation> </annotation> </attribute> |
Type: |
string, predefined |
Use: |
optional |
Defined: |
| <attribute name="method" type="string"> <annotation> <documentation>The factory method name</documentation> </annotation> </attribute> |
Type: |
tns:argType, empty content |
Defined: |
| <element name="arg" type="tns:argType"> <annotation> <documentation>The factory method arguments.</documentation> </annotation> </element> |
Type: |
anonymous, complex content |
Defined: |
| <element name="constructor"> <annotation> <documentation> Specifies the arguments to use for a non-default constructor. </documentation> </annotation> <complexType> <choice maxOccurs="unbounded"> </choice> </complexType> </element> |
Type: |
anonymous, complex content |
Defined: |
| <element name="factory"> <annotation> <documentation> Contains one element that describes the factory object. </documentation> </annotation> <complexType> </complexType> </element> |
Type: |
anonymous, complex content |
Defined: |
| <element name="field"> <annotation> <documentation> Injects a value into a member field of this object. Exactly one child element must specify the value. </documentation> </annotation> <complexType> <annotation> <documentation>The member field name</documentation> </annotation> </attribute> </complexType> </element> |
Type: |
anonymous, complex content |
Defined: |
| <element name="invoke"> <annotation> <documentation>Invokes a method</documentation> </annotation> <complexType> <choice maxOccurs="unbounded" minOccurs="0"> </choice> <annotation> <documentation>the method name</documentation> </annotation> </attribute> </complexType> </element> |
Type: |
anonymous, complex content |
Defined: |
| <element name="property"> <annotation> <documentation> Injects a value through a setter method. Exactly one child element must specify the value. </documentation> </annotation> <complexType> <annotation> <documentation> The name of the property (without the 'set' prefix) </documentation> </annotation> </attribute> </complexType> </element> |
| This XML schema documentation has been generated with DocFlex/XML RE 1.7.2 using DocFlex/XML XSDDoc 2.1.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:
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/ |