public class BasicTemplateRegistry extends AbstractTemplateRegistry
NULL
Constructor and Description |
---|
BasicTemplateRegistry() |
Modifier and Type | Method and Description |
---|---|
void |
define(MessageTemplate template) |
MessageTemplate |
get(int templateId) |
MessageTemplate |
get(QName name) |
int |
getId(MessageTemplate template) |
int |
getId(QName name) |
MessageTemplate[] |
getTemplates() |
boolean |
isDefined(QName name) |
boolean |
isRegistered(int templateId) |
boolean |
isRegistered(MessageTemplate template) |
boolean |
isRegistered(QName name) |
Iterator |
iterator()
Iterator over the set of templates (defined or registered) in this
registry
|
Iterator |
nameIterator()
Iterator over the names of each template (defined or registered) in this
registry
|
void |
register(int id,
MessageTemplate template) |
void |
register(int id,
QName name) |
void |
registerAll(TemplateRegistry registry) |
void |
remove(int id) |
void |
remove(MessageTemplate template) |
void |
remove(QName name) |
addTemplateRegisteredListener, get, getId, isDefined, isRegistered, notifyTemplateRegistered, register, remove, removeTemplateRegisteredListener
public void register(int id, MessageTemplate template)
public void register(int id, QName name)
public void define(MessageTemplate template)
public int getId(QName name)
public MessageTemplate get(int templateId)
public MessageTemplate get(QName name)
public int getId(MessageTemplate template)
public boolean isRegistered(QName name)
public boolean isRegistered(int templateId)
public boolean isRegistered(MessageTemplate template)
public boolean isDefined(QName name)
public MessageTemplate[] getTemplates()
public void remove(QName name)
public void remove(MessageTemplate template)
public void remove(int id)
public void registerAll(TemplateRegistry registry)
public Iterator nameIterator()
TemplateRegistry
public Iterator iterator()
TemplateRegistry
Copyright © 2006-2013 The LaSalle Technology Group, LLC. All Rights Reserved.