Docmosis API 4.5.0

com.docmosis.template.store
Class TemplateContext

java.lang.Object
  extended bycom.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.
 
Method Summary
 boolean equals(Object other)
           
 String getPath()
          Return this context as a path that may be used to store or retrieve the template.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TemplateContext

public TemplateContext(String path)
Construct a new context with the given string as the path.

Parameters:
path - the path for the context.
Method Detail

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()

Docmosis API 4.5.0

Copyright © 2014 Docmosis Pty Ltd. All Rights Reserved.