|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A registry of Descriptor
s. Descriptors are keyed by package ID, and
multiple descriptors can be associated with each package ID.
Field Summary | |
static GeneratorAdapterFactory.Descriptor.Registry |
INSTANCE
The global generator adapter factory descriptor registry. |
Method Summary | |
boolean |
addDescriptor(String packageID,
GeneratorAdapterFactory.Descriptor descriptor)
Registers the given descriptor against the specified package ID. |
void |
clear()
Clears the registry of all descriptor registrations. |
Collection |
getDescriptors(String packageID)
Returns the descriptors registered against the given package ID. |
boolean |
removeDescriptor(String packageID,
GeneratorAdapterFactory.Descriptor descriptor)
Removes the given descriptor from the collection registered against the given package ID. |
boolean |
removeDescriptors(String packageID)
Deregisters all descriptors for a given package ID. |
Field Detail |
public static final GeneratorAdapterFactory.Descriptor.Registry INSTANCE
Method Detail |
public Collection getDescriptors(String packageID)
public boolean addDescriptor(String packageID, GeneratorAdapterFactory.Descriptor descriptor)
public boolean removeDescriptor(String packageID, GeneratorAdapterFactory.Descriptor descriptor)
public boolean removeDescriptors(String packageID)
public void clear()
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |