public class StringToDocModel extends Object implements TypeAdapter
Constructor and Description |
---|
StringToDocModel() |
Modifier and Type | Method and Description |
---|---|
static DocumentRef |
createRef(String value) |
DocumentModel |
getAdaptedValue(OperationContext ctx,
Object objectToAdapt)
Adapt the given object to an instance of the given target type.
|
public DocumentModel getAdaptedValue(OperationContext ctx, Object objectToAdapt) throws TypeAdaptException
TypeAdapter
getAdaptedValue
in interface TypeAdapter
TypeAdaptException
- when the object cannot be adaptedpublic static DocumentRef createRef(String value)
Copyright © 2013 Nuxeo SA. All Rights Reserved.