Class DocModelToDocRef
java.lang.Object
org.nuxeo.ecm.automation.core.impl.adapters.DocModelToDocRef
- All Implemented Interfaces:
TypeAdapter
- Author:
- Bogdan Stefanescu
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAdaptedValue
(OperationContext ctx, Object objectToAdapt) Adapt the given object to an instance of the given target type.
-
Constructor Details
-
DocModelToDocRef
public DocModelToDocRef()
-
-
Method Details
-
getAdaptedValue
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
-