org.exolab.castor.xml.util.resolvers
Class CastorXMLStrategy
java.lang.Object
org.exolab.castor.xml.util.resolvers.CastorXMLStrategy
- ResolverStrategy
public class CastorXMLStrategy
extends java.lang.Object
The Castor XML resolver strategy implements the resolving behaviour as it had
been implmented before this refactoring step. Meaning that:
It uses
multiple steps to find a class descriptor for a class.
It uses a cache
of class descriptors
A class that couldn't be resolved once is marked
as unresolvable and will not be resolved again - even on a second call.
CastorXMLStrategy
public CastorXMLStrategy()
CastorXMLStrategy requires a configuration to be set. Within the constructor the
commands building the strategy are instantiated, a command configuration is created
and the descriptor cache.
resolvePackage
public void resolvePackage(ResolverResults resolverResults,
String packageName)
throws ResolverException
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com