org.weborganic.bastille.web
Class GetTemplateFile

java.lang.Object
  extended by org.weborganic.bastille.web.GetTemplateFile
All Implemented Interfaces:
Cacheable, ContentGenerator
Direct Known Subclasses:
GetFooter, GetHeader, GetNavigation

Deprecated. Use GetConfigFile instead.

@Deprecated
public abstract class GetTemplateFile
extends Object
implements ContentGenerator, Cacheable

This generator returns the XML for a template file.

It is designed to be used as a base class, it cannot be instantiated without arguments.

Since:
0.6.0

Constructor Summary
GetTemplateFile(String name)
          Deprecated. Creates a new template file generator for the given template name.
 
Method Summary
 String getETag(ContentRequest req)
          Deprecated. 
 void process(ContentRequest req, XMLWriter xml)
          Deprecated. 
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetTemplateFile

public GetTemplateFile(String name)
Deprecated. 
Creates a new template file generator for the given template name.

Parameters:
name - the template name (eg. "header", "footer", etc...)
Method Detail

getETag

public final String getETag(ContentRequest req)
Deprecated. 

Specified by:
getETag in interface Cacheable

process

public final void process(ContentRequest req,
                          XMLWriter xml)
                   throws BerliozException,
                          IOException
Deprecated. 

Specified by:
process in interface ContentGenerator
Throws:
BerliozException
IOException