public class TypeRegistry extends ExtensionRegistry<Type>
Constructor and Description |
---|
TypeRegistry() |
Modifier and Type | Method and Description |
---|---|
void |
addContribution(Type contrib,
Extension extension) |
void |
addType(Type type) |
Type |
getType(String id) |
Collection<Type> |
getTypes() |
boolean |
hasType(String id) |
static Type |
mergeTypes(Type oldType,
Type newType) |
void |
removeContributions()
Remove all registered contributions.
|
Type |
removeType(String id) |
dispose, registerExtension, unregisterExtension
public void removeContributions()
ExtensionRegistry
removeContributions
in class ExtensionRegistry<Type>
public void addContribution(Type contrib, Extension extension)
addContribution
in class ExtensionRegistry<Type>
public void addType(Type type)
public boolean hasType(String id)
public Collection<Type> getTypes()
Copyright © 2011 Nuxeo SA. All Rights Reserved.