Return to www.inductionframework.org

com.acciente.induction.view
Interface Template


public interface Template

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


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

Method Detail

getTemplateName

java.lang.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

java.lang.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

Return to www.inductionframework.org

Copyright (c) 2008 Acciente, LLC. All rights reserved.