|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jbpm.wire.binding.FieldBinding
public class FieldBinding
This Binding
specifies a FieldOperation
(for field injection).
A field injection is defined by a <field>
xml element.
This element has a attribute "name", which specifies the name of the field to inject.
This element should contain a child element that defines a Descriptor
.
This descriptor will be used to create the object that will be assigned to the field
public class Foo { String bar; }The following Xml declaration will create an object 'o' of class 'Foo' (see
ObjectDescriptor
), and
the value hello
will be assigned to o.bar
.
<objects> <object name='o' class='Foo'> <field name='bar'> <string value='hello' /> </field> </object> </objects>
ObjectBinding
,
WireParser
Constructor Summary | |
---|---|
FieldBinding()
|
Method Summary | |
---|---|
java.lang.Object |
parse(org.w3c.dom.Element element,
Parse parse,
Parser parser)
translates the given element into a domain model java object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FieldBinding()
Method Detail |
---|
public java.lang.Object parse(org.w3c.dom.Element element, Parse parse, Parser parser)
Binding
parse
in interface Binding
Parser
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |