Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.automation.core.impl.adapters
Class DocModelListToDocRefList

java.lang.Object
  extended by org.nuxeo.ecm.automation.core.impl.adapters.DocModelListToDocRefList
All Implemented Interfaces:
TypeAdapter

public class DocModelListToDocRefList
extends java.lang.Object
implements TypeAdapter

Author:
Bogdan Stefanescu

Constructor Summary
DocModelListToDocRefList()
           
 
Method Summary
 java.lang.Object getAdaptedValue(OperationContext ctx, java.lang.Object objectToAdapt)
          Adapt the given object to an instance of the given target type.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocModelListToDocRefList

public DocModelListToDocRefList()
Method Detail

getAdaptedValue

public java.lang.Object getAdaptedValue(OperationContext ctx,
                                        java.lang.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 interface TypeAdapter
Throws:
TypeAdaptException - when the object cannot be adapted

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.