org.jbpm.wire.binding
Class TrueBinding
java.lang.Object
org.jbpm.wire.binding.TrueBinding
- All Implemented Interfaces:
- Binding
public class TrueBinding
- extends java.lang.Object
- implements Binding
This binding specifies a TrueDescriptor
for constructing Boolean.TRUE
.
A 'true' booleanDescriptor can be defined by the <true>
xml element.
This element can have an attribute "name", which specifies the name of the created object in the WireContext.
Example
The following Xml declaration will create a Boolean 'b', with the value "true".
<objects>
<true name='b' />
</objects>
- Author:
- Tom Baeyens, Guillaume Porcher (Documentation)
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 |
TrueBinding
public TrueBinding()
parse
public java.lang.Object parse(org.w3c.dom.Element element,
Parse parse,
Parser parser)
- Description copied from interface:
Binding
- translates the given element into a domain model java object.
Use the parse to report problems.
- Specified by:
parse
in interface Binding
- Returns:
- the domain model java object.
- See Also:
Parser