public class StringToDocRef extends Object implements TypeAdapter
Constructor and Description |
---|
StringToDocRef() |
Modifier and Type | Method and Description |
---|---|
static DocumentRef |
createRef(String value) |
DocumentRef |
getAdaptedValue(OperationContext ctx,
Object objectToAdapt)
Adapt the given object to an instance of the given target type.
|
public DocumentRef 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.