|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
As a strategy generate one or more class descriptors it needs a place to put the results to. This is a minimal interface to give the strategy a place where to put generated class descriptors to.
| Method Summary | |
void |
addAllDescriptors(java.util.Map descriptors)
To add not only a single descriptor but a map of descriptors at once. |
void |
addDescriptor(java.lang.String className,
XMLClassDescriptor descriptor)
Adds a descriptor to this caches maps. |
XMLClassDescriptor |
getDescriptor(java.lang.String className)
Gets the descriptor that is mapped to the given class name. |
| Method Detail |
public void addDescriptor(java.lang.String className,
XMLClassDescriptor descriptor)
null, the empty string (""), or has the value of the
constant INTERNAL_CONTAINER_NAME.
If there already is a descriptor for the given className
and/or the descriptor's XML name the previously cached descriptor is
replaced.
className - The class name to be used for mapping the given descriptor.descriptor - The descriptor to be mapped.#INTERNAL_CONTAINER_NAMEpublic void addAllDescriptors(java.util.Map descriptors)
descriptors - a Map of className (String) and XMLClassDescriptor pairspublic XMLClassDescriptor getDescriptor(java.lang.String className)
className - The class name to get a descriptor for.
null
if no descriptor is stored in this cache.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||