org.exolab.castor.xml

Interface ClassDescriptorResolver

Known Subinterfaces:
XMLClassDescriptorResolver
Known Implementing Classes:
JDOClassDescriptorResolverImpl, XMLClassDescriptorResolverImpl

public interface ClassDescriptorResolver

An interface for finding or "resolving" ClassDescriptor classes.
Note: This interface is used by the marshalling Framework for resolving ClassDescriptors for non-primitive types. There are no guarantees that this class will be called for java native classes.
Version:
$Revision: 6027 $ $Date: 2005-02-28 17:41:38 -0700 (Mon, 28 Feb 2005) $

Method Summary

MappingLoader
getMappingLoader()

Note: This method will be removed soon (kv).
ClassDescriptor
resolve(Class type)
Returns the ClassDescriptor for the given class
void
setMappingLoader(MappingLoader mappingLoader)
Sets the mapping loader for this ClassDescriptorResolver
Note: This method will be removed soon (kv).

Method Details

getMappingLoader

public MappingLoader getMappingLoader()

Note: This method will be removed soon (kv).

resolve

public ClassDescriptor resolve(Class type)
            throws ResolverException
Returns the ClassDescriptor for the given class
Parameters:
type - the Class to find the ClassDescriptor for
Returns:
the ClassDescriptor for the given class

setMappingLoader

public void setMappingLoader(MappingLoader mappingLoader)
Sets the mapping loader for this ClassDescriptorResolver
Note: This method will be removed soon (kv).

Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com