Class CollectionStringProducer

java.lang.Object
org.exoplatform.services.rest.impl.method.BaseCollectionProducer
org.exoplatform.services.rest.impl.method.CollectionStringProducer
All Implemented Interfaces:
TypeProducer

public final class CollectionStringProducer extends BaseCollectionProducer
Produce collections each element of it is String.
Version:
$Id: $
Author:
Andrey Parfonov
  • Method Details

    • createValue

      protected Object createValue(String value) throws Exception
      Don't need to do anything just return passed in method String as is. Create collection's element.
      Specified by:
      createValue in class BaseCollectionProducer
      Parameters:
      value - this String will be used for creation object, usually String will be used as parameter for constructor or static method valueOf
      Returns:
      newly created collection's element
      Throws:
      Exception - if any error occurs