org.jbpm.wire.binding
Class DoubleBinding

java.lang.Object
  extended by org.jbpm.wire.binding.BasicTypeBinding
      extended by org.jbpm.wire.binding.DoubleBinding
All Implemented Interfaces:
Binding

public class DoubleBinding
extends BasicTypeBinding

This Binding specifies a DoubleDescriptor.

A double descriptor is defined by a <double> 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 Double 'pi', with the value '3.14159265'.
 <objects>
   <double name='pi' value='3.14159265' />
 </objects>

Author:
Tom Baeyens, Guillaume Porcher (documentation)
See Also:
WireParser

Constructor Summary
DoubleBinding()
           
 
Method Summary
protected  AbstractDescriptor createDescriptor(java.lang.String value)
           
 
Methods inherited from class org.jbpm.wire.binding.BasicTypeBinding
parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoubleBinding

public DoubleBinding()
Method Detail

createDescriptor

protected AbstractDescriptor createDescriptor(java.lang.String value)
Specified by:
createDescriptor in class BasicTypeBinding