Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.javahispano.canyamo.services.presentation.template.velocity
Class VelocityFactory  view VelocityFactory download VelocityFactory.java

java.lang.Object
  extended byorg.javahispano.canyamo.services.presentation.template.velocity.VelocityFactory
All Implemented Interfaces:
org.javahispano.canyamo.services.presentation.template.PageFactory

public class VelocityFactory
extends java.lang.Object
implements org.javahispano.canyamo.services.presentation.template.PageFactory

Description of the Class

Version:

Constructor Summary
VelocityFactory()
           
 
Method Summary
 org.javahispano.canyamo.services.presentation.template.Page getPage(java.lang.String templateName)
          Gets the page attribute of the PageFactory class
 org.javahispano.canyamo.services.presentation.template.Page getPage(java.lang.String name, java.lang.String templateName)
          Gets the page attribute of the PageFactory class
 void init()
          Initialites this factory
 void setTemplateCache(java.lang.String dir)
          Sets the templateCache attribute of the VelocityFactory object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VelocityFactory

public VelocityFactory()
Method Detail

setTemplateCache

public void setTemplateCache(java.lang.String dir)
Sets the templateCache attribute of the VelocityFactory object

Specified by:
setTemplateCache in interface org.javahispano.canyamo.services.presentation.template.PageFactory

getPage

public org.javahispano.canyamo.services.presentation.template.Page getPage(java.lang.String name,
                                                                           java.lang.String templateName)
                                                                    throws java.lang.Exception
Gets the page attribute of the PageFactory class

Specified by:
getPage in interface org.javahispano.canyamo.services.presentation.template.PageFactory
Since:

getPage

public org.javahispano.canyamo.services.presentation.template.Page getPage(java.lang.String templateName)
                                                                    throws java.lang.Exception
Gets the page attribute of the PageFactory class

Specified by:
getPage in interface org.javahispano.canyamo.services.presentation.template.PageFactory

init

public void init()
Initialites this factory

Specified by:
init in interface org.javahispano.canyamo.services.presentation.template.PageFactory