org.exolab.castor.xml.util
Class ClassResolutionByMappingLoader

java.lang.Object
  extended by org.exolab.castor.xml.util.BaseResolutionCommand
      extended by org.exolab.castor.xml.util.ClassResolutionByMappingLoader
All Implemented Interfaces:
NatureExtendable, PropertyHolder, ClassDescriptorResolutionCommand

public final class ClassResolutionByMappingLoader
extends BaseResolutionCommand

Resolves ClassDescriptors using a MappingLoader.

Author:
Lukas Lang

Constructor Summary
ClassResolutionByMappingLoader()
          Constructor taking a MappingLoader.
 
Method Summary
 ClassDescriptor resolve(java.lang.Class type)
          Resolves a ClassDescriptor for the given type using the MappingLoader of the MappingLoaderNature.
 
Methods inherited from class org.exolab.castor.xml.util.BaseResolutionCommand
addNature, getProperty, hasNature, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassResolutionByMappingLoader

public ClassResolutionByMappingLoader()
Constructor taking a MappingLoader.

Method Detail

resolve

public ClassDescriptor resolve(java.lang.Class type)
Resolves a ClassDescriptor for the given type using the MappingLoader of the MappingLoaderNature.

Parameters:
type - The type to resolve.
Returns:
A ClassDescriptor or null if not found.
See Also:
org.exolab.castor.xml.util.ClassResolutionCommand#resolve(java.lang.Class)


Copyright © 2011. All Rights Reserved.