public interface TemplateHandlerRegistry
| Modifier and Type | Method and Description |
|---|---|
long[] |
getClassNameIds() |
TemplateHandler |
getTemplateHandler(long classNameId)
Returns the template handler associated with the class name ID.
|
TemplateHandler |
getTemplateHandler(java.lang.String className)
Returns the template handler associated with the class name.
|
java.util.List<TemplateHandler> |
getTemplateHandlers()
Returns all the template handlers.
|
void |
register(TemplateHandler templateHandler)
Registers the template handler.
|
void |
unregister(TemplateHandler templateHandler)
Unregisters the template handler.
|
long[] getClassNameIds()
TemplateHandler getTemplateHandler(long classNameId)
classNameId - the class name ID of the templateTemplateHandler getTemplateHandler(java.lang.String className)
className - the class name of the templatejava.util.List<TemplateHandler> getTemplateHandlers()
void register(TemplateHandler templateHandler)
templateHandler - the template handler to registervoid unregister(TemplateHandler templateHandler)
templateHandler - the template handler to unregister