|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.castor.xml.util.resolvers.AbstractResolverClassCommand
org.exolab.castor.xml.util.resolvers.ByDescriptorClass
public class ByDescriptorClass
Resolve a class by looking for a descriptor class 'nearby'. The descriptor class has to follow some specific naming conventions (and maybe be in a special package).
Constructor Summary | |
---|---|
ByDescriptorClass()
No specific stuff needed. |
Method Summary | |
---|---|
protected java.util.Map |
internalResolve(java.lang.String className,
java.lang.ClassLoader classLoader,
java.util.Map properties)
Tries to load an XMLClassDescriptor directly from an existing .class file. |
Methods inherited from class org.exolab.castor.xml.util.resolvers.AbstractResolverClassCommand |
---|
resolve |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ByDescriptorClass()
Method Detail |
---|
protected java.util.Map internalResolve(java.lang.String className, java.lang.ClassLoader classLoader, java.util.Map properties) throws ResolverException
className
+ "Descriptor", and contain a valid XMLClassDescriptor.
internalResolve
in class AbstractResolverClassCommand
className
- the name of the class to resolveclassLoader
- the class loader to useproperties
- the resolve properties to use
ResolverException
- if unrecoverable problems in resolve occured
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |