|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.krms.impl.repository.language.TranslationContextRegistry<T>
public class TranslationContextRegistry<T extends TranslationContext>
This class is a registry of template contexts which the requirement component translator uses to generate natural language.
| Constructor Summary | |
|---|---|
TranslationContextRegistry()
Constructor. |
|
TranslationContextRegistry(Map<String,List<T>> registry)
Constructor. |
|
| Method Summary | |
|---|---|
void |
add(String key,
T context)
Adds a context to the registry. |
boolean |
containsKey(String key)
Returns true if a context exists for key; otherwise false. |
List<T> |
get(String key)
Gets a context from the registry. |
List<T> |
remove(String key)
Remove a context from the registry. |
int |
size()
Returns the number of keys of the registry. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TranslationContextRegistry()
public TranslationContextRegistry(Map<String,List<T>> registry)
registry - Context registry| Method Detail |
|---|
public void add(String key,
T context)
key - Context keycontext - Contextpublic List<T> get(String key)
key - Context key
public boolean containsKey(String key)
key; otherwise false.
key - Context key
public List<T> remove(String key)
key -
public int size()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||