org.exolab.castor.xml.util.resolvers
Class AbstractResolverPackageCommand
java.lang.Object
org.exolab.castor.xml.util.resolvers.AbstractResolverPackageCommand
- ResolverPackageCommand
public abstract class AbstractResolverPackageCommand
extends java.lang.Object
The abstract resolver command provides the argument checking, writes a debug
message and reads the class loader from the properties... All specific code
is found in the extended classes.
- Joachim Grueneis, jgrueneis AT gmail DOT com
protected abstract Map | internalResolve(String packageName, ClassLoader classLoader, Map props) - The required parameter checks are in the public method and here we expect that the
resolve logic itself is implemented.
|
protected boolean | isEmptyPackageName(String packageName) - Is the given package name empty?
|
Map | resolve(String packageName, Map properties) -
|
internalResolve
protected abstract Map internalResolve(String packageName,
ClassLoader classLoader,
Map props)
throws ResolverException
The required parameter checks are in the public method and here we expect that the
resolve logic itself is implemented.
classLoader
- the class loader to useprops
- the resolve properties to use
- a Map of className and XMLClassDescriptor
isEmptyPackageName
protected final boolean isEmptyPackageName(String packageName)
Is the given package name empty?
packageName
- the package name to check
- true if the String is empty
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com