|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectURLTemplates
public class URLTemplates
The key class to get information from url-template-config.
| Constructor Summary | |
|---|---|
URLTemplates()
|
|
| Method Summary | |
|---|---|
void |
addTemplate(String templateName,
URLTemplate template)
Add a template from url-template-config by name. |
void |
addTemplateRefGroup(String refGroupName,
Map templateRefGroup)
Add a template reference group from url-template-config by name. |
URLTemplate |
getTemplate(String templateName)
Retrieve a template from url-template-config by name. |
String |
getTemplateNameByRef(String refGroupName,
String key)
Retrieve a template name from a reference group in url-template-config. |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public URLTemplates()
| Method Detail |
|---|
public void addTemplate(String templateName,
URLTemplate template)
templateName - the name of the template.template - the template to add.public URLTemplate getTemplate(String templateName)
templateName - the name of the template.
public void addTemplateRefGroup(String refGroupName,
Map templateRefGroup)
refGroupName - the name of the template reference group.templateRefGroup - the template reference group.
public String getTemplateNameByRef(String refGroupName,
String key)
refGroupName - the name of the template reference group.key - the key to the particular template reference in the group.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||