Class JsonNodeToProperties
- java.lang.Object
-
- org.nuxeo.ecm.automation.core.impl.adapters.JsonNodeToProperties
-
- All Implemented Interfaces:
TypeAdapter
public class JsonNodeToProperties extends Object implements TypeAdapter
-
-
Constructor Summary
Constructors Constructor Description JsonNodeToProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getAdaptedValue(OperationContext ctx, Object objectToAdapt)
Adapt the given object to an instance of the given target type.
-
-
-
Method Detail
-
getAdaptedValue
public Object 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
-
-