|
Docmosis API 2.1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.docmosis.template.store.TemplateIdentifier
A Template can be uniquely identified by a name and a context. It is dependant on the type of TemplateStore used as to what might constitute a context.
| Constructor Summary | |
TemplateIdentifier(String name)
Construct a new template identifier with the given name and a template context matching the root (or top-level) of the store. |
|
TemplateIdentifier(String name,
TemplateContext context)
Construct a new identifer with the given name and context. |
|
| Method Summary | |
boolean |
equals(Object other)
|
TemplateContext |
getContext()
Get the context of this template. |
String |
getName()
Get the name for this template id. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public TemplateIdentifier(String name)
name - the template name.
public TemplateIdentifier(String name,
TemplateContext context)
name - the name for the templatecontext - the context (path) for the template. A null context
means the root (or top-level) of the store.| Method Detail |
public String getName()
public TemplateContext getContext()
TemplateStorepublic boolean equals(Object other)
public int hashCode()
public String toString()
|
Docmosis API 2.1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||