Class CollectionStringConstructorProducer
java.lang.Object
org.exoplatform.services.rest.impl.method.BaseCollectionProducer
org.exoplatform.services.rest.impl.method.CollectionStringConstructorProducer
- All Implemented Interfaces:
TypeProducer
Produce collections each element of it is object which has constructor with
single String argument.
- Version:
- $Id: $
- Author:
- Andrey Parfonov
-
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectcreateValue(String value) Create collection's element.Methods inherited from class org.exoplatform.services.rest.impl.method.BaseCollectionProducer
createValue
-
Method Details
-
createValue
Create collection's element.- Specified by:
createValuein classBaseCollectionProducer- Parameters:
value- this String will be used for creation object, usually String will be used as parameter for constructor or static methodvalueOf- Returns:
- newly created collection's element
- Throws:
Exception- if any error occurs
-