public class StringToDocModel extends Object implements TypeAdapter
Constructor and Description |
---|
StringToDocModel() |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
getAdaptedValue(OperationContext ctx,
Object objectToAdapt)
Adapt the given object to an instance of the given target type.
|
public StringToDocModel()
public DocumentModel getAdaptedValue(OperationContext ctx, Object objectToAdapt) throws TypeAdaptException
TypeAdapter
getAdaptedValue
in interface TypeAdapter
TypeAdaptException
- when the object cannot be adaptedCopyright © 2018 Nuxeo. All rights reserved.