org.jbpm.wire.binding
Class StringBinding
java.lang.Object
org.jbpm.wire.binding.BasicTypeBinding
org.jbpm.wire.binding.StringBinding
- All Implemented Interfaces:
- Binding
public class StringBinding
- extends BasicTypeBinding
This Binding
specifies a StringDescriptor
.
An string descriptor is defined by a <string>
xml element.
This element can have an attribute "name", which specifies the name of the created object in the WireContext.
This element must have an attribute "value", which specifies the value of the object.
Example
The following Xml declaration will create a String 's', with the value 'Hello world !'.
<objects>
<string name='s' value='Hello world !' />
</objects>
- Author:
- Tom Baeyens, Guillaume Porcher (documentation)
- See Also:
WireParser
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringBinding
public StringBinding()
createDescriptor
protected AbstractDescriptor createDescriptor(java.lang.String value)
- Specified by:
createDescriptor
in class BasicTypeBinding