com.docmosis.template.store
Class TemplateContext
java.lang.Object
com.docmosis.template.store.TemplateContext
- public class TemplateContext
- extends Object
The context of a template. It is dependant on the type of TemplateStore used
as to what might constitute a context. The context and name of a template
should uniquely identify it.
Constructor Summary |
TemplateContext(String path)
Construct a new context with the given string as the path. |
TemplateContext
public TemplateContext(String path)
- Construct a new context with the given string as the path.
- Parameters:
path
- the path for the context.
getPath
public String getPath()
- Return this context as a path that may be used to store or retrieve the
template.
- Returns:
- the path corresponding to the context.
equals
public boolean equals(Object other)
hashCode
public int hashCode()
toString
public String toString()
Copyright © 2014 Docmosis Pty Ltd. All Rights Reserved.