org.simantics.databoard.binding.factory
Class JavaUtilBindingsFactory

java.lang.Object
  extended by org.simantics.databoard.binding.factory.JavaUtilBindingsFactory
All Implemented Interfaces:
BindingSubFactory

public class JavaUtilBindingsFactory
extends java.lang.Object
implements BindingSubFactory

This factory constructs Bindings for java.util classes.

Author:
toni.kalajainen

Constructor Summary
JavaUtilBindingsFactory()
           
 
Method Summary
 Binding construct(ClassBindingFactory factory, BindingRequest request)
          Construct a binding request.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaUtilBindingsFactory

public JavaUtilBindingsFactory()
Method Detail

construct

public Binding construct(ClassBindingFactory factory,
                         BindingRequest request)
                  throws BindingConstructionException
Description copied from interface: BindingSubFactory
Construct a binding request. This method returns null if construction is not supported by this factory. Exception is thrown if construction is expected to success but fails for a reason. If this class constructs a compositive type: Array, Map, Optional, Record or Union, the composite types/fields need not be filled, and should be left null. They are filled by the caller.

Specified by:
construct in interface BindingSubFactory
Parameters:
factory - master factory
Returns:
binding or null
Throws:
BindingConstructionException