com.acciente.induction.view
Interface Template


public interface Template

This view interface should be implemented to render a text template to the browser.

Author:
Adinath Raveendra Raj

Method Summary
 String getMimeType()
          This method should return the mime type of the text content
 String getTemplateName()
          Returns the name of the template that dragon will use to render the contents an instance of this class.
 

Method Detail

getTemplateName

String getTemplateName()
Returns the name of the template that dragon will use to render the contents an instance of this class.

Returns:
a string representing a template name

getMimeType

String getMimeType()
This method should return the mime type of the text content

Returns:
a string representation of a mime type, e.g. text/html


Copyright © 2008-2013 Acciente, LLC. All Rights Reserved.