org.jbpm.wire.binding
Class ShortBinding

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

public class ShortBinding
extends BasicTypeBinding

This Binding specifies a ShortDescriptor.

An short descriptor is defined by a <short> 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 short 's', with the value '42'.
 <objects>
   <short name='s' value='42' />
 </objects>

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

Constructor Summary
ShortBinding()
           
 
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

ShortBinding

public ShortBinding()
Method Detail

createDescriptor

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