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

Quick Search    Search Deep

org.scopemvc.application.timewarp.source
Interface FileProducer  view FileProducer download FileProducer.java

All Known Implementing Classes:
ScopeSource, ScopeText

public interface FileProducer

Describe what this class does

Version:
$Revision: 1.5 $

Method Summary
 org.apache.velocity.VelocityContext createVelocityContext()
          Returns a VelocityContext object which will be used for file generation.
 java.io.File getDestinationDir()
          Gets the DestinationDir attribute of the FileProducer object
 java.lang.String getDestinationFileName()
          Gets the DestinationFileName attribute of the FileProducer object
 java.net.URL getTemplate()
          Gets the Template attribute of the FileProducer object
 boolean isEnabled()
          Return true if this file producer is enabled and can generate code
 void setEnabled(boolean enabled)
          Sets the enabled flag
 

Method Detail

getDestinationDir

public java.io.File getDestinationDir()
Gets the DestinationDir attribute of the FileProducer object


getDestinationFileName

public java.lang.String getDestinationFileName()
Gets the DestinationFileName attribute of the FileProducer object


getTemplate

public java.net.URL getTemplate()
Gets the Template attribute of the FileProducer object


createVelocityContext

public org.apache.velocity.VelocityContext createVelocityContext()
Returns a VelocityContext object which will be used for file generation. This object can contain objects that are bound to names and can be accessed from the template.


isEnabled

public boolean isEnabled()
Return true if this file producer is enabled and can generate code


setEnabled

public void setEnabled(boolean enabled)
Sets the enabled flag