public class StringToDocRef extends Object implements TypeAdapter
| Constructor and Description |
|---|
StringToDocRef() |
| Modifier and Type | Method and Description |
|---|---|
static DocumentRef |
createRef(String value)
Deprecated.
since 9.1, see
TypeAdapterHelper.createDocumentRef(String) instead |
DocumentRef |
getAdaptedValue(OperationContext ctx,
Object objectToAdapt)
Adapt the given object to an instance of the given target type.
|
public StringToDocRef()
public DocumentRef getAdaptedValue(OperationContext ctx, Object objectToAdapt) throws TypeAdaptException
TypeAdaptergetAdaptedValue in interface TypeAdapterTypeAdaptException - when the object cannot be adapted@Deprecated public static DocumentRef createRef(String value)
TypeAdapterHelper.createDocumentRef(String) insteadCopyright © 2019 Nuxeo. All rights reserved.