|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.castor.builder.util.ClassInfoResolverImpl
public class ClassInfoResolverImpl
A class for "caching" ClassInfo's which later need to be resolved (retrieved).
Constructor Summary | |
---|---|
ClassInfoResolverImpl()
Default constructor. |
Method Summary | |
---|---|
void |
bindReference(java.lang.Object key,
ClassInfo classInfo)
Adds the given Reference to this ClassInfo resolver. |
java.util.Enumeration<?> |
keys()
Returns all the keys used for binding ClassInfo objects. |
ClassInfo |
resolve(java.lang.Object key)
Returns the ClassInfo which has been bound to the given key. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClassInfoResolverImpl()
Method Detail |
---|
public final void bindReference(java.lang.Object key, ClassInfo classInfo)
bindReference
in interface ClassInfoResolver
key
- the key to bind a reference to.classInfo
- the ClassInfo which is being referenced.public final java.util.Enumeration<?> keys()
public final ClassInfo resolve(java.lang.Object key)
resolve
in interface ClassInfoResolver
key
- the object to which the ClassInfo has been bound.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |