org.jbpm.wire.binding
Class CharBinding

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

public class CharBinding
extends BasicTypeBinding

This Binding specifies a CharacterDescriptor.

A character descriptor is defined by a <char> 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. This value should be a single char.

Example

The following Xml declaration will create a Character 'c', with the value 'a'.
 <objects>
   <char name='c' value='a' />
 </objects>

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

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

CharBinding

public CharBinding()
Method Detail

createDescriptor

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