Class StringToDocModel
- java.lang.Object
-
- org.nuxeo.ecm.automation.core.impl.adapters.StringToDocModel
-
- All Implemented Interfaces:
TypeAdapter
public class StringToDocModel extends Object implements TypeAdapter
- Author:
- Bogdan Stefanescu
-
-
Constructor Summary
Constructors Constructor Description StringToDocModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentModel
getAdaptedValue(OperationContext ctx, Object objectToAdapt)
Adapt the given object to an instance of the given target type.
-
-
-
Method Detail
-
getAdaptedValue
public DocumentModel getAdaptedValue(OperationContext ctx, Object objectToAdapt) throws TypeAdaptException
Description copied from interface:TypeAdapter
Adapt the given object to an instance of the given target type. The input object cannot be null. Throws an exception if the object cannot be adapted.- Specified by:
getAdaptedValue
in interfaceTypeAdapter
- Throws:
TypeAdaptException
- when the object cannot be adapted
-
-