|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.castor.xml.util.resolvers.AbstractResolverPackageCommand
public abstract class AbstractResolverPackageCommand
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.
Constructor Summary | |
---|---|
AbstractResolverPackageCommand()
|
Method Summary | |
---|---|
protected abstract java.util.Map |
internalResolve(java.lang.String packageName,
java.lang.ClassLoader classLoader,
java.util.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(java.lang.String packageName)
Is the given package name empty? |
java.util.Map |
resolve(java.lang.String packageName,
java.util.Map properties)
The one and only purpose resolver commands are good for ;-) . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractResolverPackageCommand()
Method Detail |
---|
public final java.util.Map resolve(java.lang.String packageName, java.util.Map properties) throws ResolverException
resolve
in interface ResolverPackageCommand
packageName
- the name of the package to resolveproperties
- the Properties to be used at resolve
ResolverException
- in case that resolving fails fatallyprotected final boolean isEmptyPackageName(java.lang.String packageName)
packageName
- the package name to check
protected abstract java.util.Map internalResolve(java.lang.String packageName, java.lang.ClassLoader classLoader, java.util.Map props) throws ResolverException
className
- the name of the class to resolveclassLoader
- the class loader to useprops
- the resolve properties to use
ResolverException
- in case of unrecoverable problems at resolving
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |