net.spy.yamlmock
Interface TypeResolver

All Known Implementing Classes:
DefaultTypeResolver

public interface TypeResolver

Resolve types for the invocation handler.


Method Summary
 Object resolveObject(Class<?> type, Object from)
          Create an instance of the given type from the given object.
 

Method Detail

resolveObject

Object resolveObject(Class<?> type,
                     Object from)
Create an instance of the given type from the given object.

Parameters:
type - the desired type
from - the supplied object to convert


Copyright © 2007 SPY Internetworking. All Rights Reserved.