org.exolab.castor.builder.util
Class ClassInfoResolverImpl
java.lang.Objectorg.exolab.castor.builder.util.ClassInfoResolverImpl
- ClassInfoResolver
public class ClassInfoResolverImpl
extends java.lang.Object
A class for "caching" ClassInfo's which later need to be resolved
(retrieved).
$Revision: 6665 $ $Date: 2003-03-03 00:05:44 -0700 (Mon, 03 Mar 2003) $
void | bindReference(Object key, ClassInfo classInfo)- Adds the given Reference to this ClassInfo resolver.
|
Enumeration | keys()- Returns all the keys used for binding ClassInfo objects.
|
ClassInfo | resolve(Object key)- Returns the ClassInfo which has been bound to the given key.
|
ClassInfoResolverImpl
public ClassInfoResolverImpl()
Default constructor.
bindReference
public final void bindReference(Object key,
ClassInfo classInfo) Adds the given Reference to this ClassInfo resolver.
- bindReference in interface ClassInfoResolver
key - the key to bind a reference to.classInfo - the ClassInfo which is being referenced.
keys
public final Enumeration keys()
Returns all the keys used for binding ClassInfo objects.
- an Enumeration over the keys using for binding ClassInfo objects.
resolve
public final ClassInfo resolve(Object key)
Returns the ClassInfo which has been bound to the given key.
- resolve in interface ClassInfoResolver
key - the object to which the ClassInfo has been bound.
- the ClassInfo which has been bound to the given key.
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com