Home » Castor-1.3-src » org.exolab.castor » xml » util » resolvers » [javadoc | source]
org.exolab.castor.xml.util.resolvers
public class: ByPackageMapping [javadoc | source]
java.lang.Object
   org.exolab.castor.xml.util.resolvers.AbstractResolverPackageCommand
      org.exolab.castor.xml.util.resolvers.ByPackageMapping

All Implemented Interfaces:
    ResolverPackageCommand

Tries to load the package mapping file for the given package.
If the mapping file is available and could be loaded properly the descriptors listed in it are added to the description class cache of the configuration.
To disable loading of pacakge mapping files just don't use this command.
If a mapping file is not available for the given package this method will not load any descriptors and not throw any exceptions.
The class loader specified in the configuration is used.
The mapping file - if available - is loaded using the MappingLoader.

Further calls to this command with the same package name will not be processed.
Constructor:
 public ByPackageMapping() 
Method from org.exolab.castor.xml.util.resolvers.ByPackageMapping Summary:
internalResolve
Methods from org.exolab.castor.xml.util.resolvers.AbstractResolverPackageCommand:
internalResolve,   isEmptyPackageName,   resolve
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.exolab.castor.xml.util.resolvers.ByPackageMapping Detail:
 protected Map internalResolve(String packageName,
    ClassLoader classLoader,
    Map properties) throws ResolverException 
    {@inheritDoc}