Package org.exolab.castor.xml
Interface ClassDescriptorResolver
-
- All Known Subinterfaces:
JDOClassDescriptorResolver
,XMLClassDescriptorResolver
- All 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: 8574 $ $Date: 2005-02-28 17:41:38 -0700 (Mon, 28 Feb 2005) $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MappingLoader
getMappingLoader()
Note: This method will be removed soon (kv).ClassDescriptor
resolve(java.lang.Class<?> type)
Returns the ClassDescriptor for the given class.void
setMappingLoader(MappingLoader mappingLoader)
Sets the mapping loader for this ClassDescriptorResolver.
-
-
-
Method Detail
-
getMappingLoader
MappingLoader getMappingLoader()
Note: This method will be removed soon (kv).
-
resolve
ClassDescriptor resolve(java.lang.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
- Throws:
ResolverException
-
setMappingLoader
void setMappingLoader(MappingLoader mappingLoader)
Sets the mapping loader for this ClassDescriptorResolver. Note: This method will be removed soon (kv).
-
-