com.vaadin.data.util.converter
Class StringToCollectionConverter.DefaultCollectionFactory

java.lang.Object
  extended by com.vaadin.data.util.converter.StringToCollectionConverter.DefaultCollectionFactory
All Implemented Interfaces:
StringToCollectionConverter.CollectionFactory, java.io.Serializable
Enclosing class:
StringToCollectionConverter

public static class StringToCollectionConverter.DefaultCollectionFactory
extends java.lang.Object
implements StringToCollectionConverter.CollectionFactory

Default collection factory implementation.

Author:
Vaadin Ltd
See Also:
Serialized Form

Constructor Summary
StringToCollectionConverter.DefaultCollectionFactory()
           
 
Method Summary
 java.util.Collection<?> createCollection(java.lang.Class<? extends java.util.Collection> type)
          Create collection by its type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringToCollectionConverter.DefaultCollectionFactory

public StringToCollectionConverter.DefaultCollectionFactory()
Method Detail

createCollection

public java.util.Collection<?> createCollection(java.lang.Class<? extends java.util.Collection> type)
Description copied from interface: StringToCollectionConverter.CollectionFactory
Create collection by its type.

Specified by:
createCollection in interface StringToCollectionConverter.CollectionFactory
Parameters:
type - collection type
Returns:
instantiated collection with given type


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.