You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by dl...@apache.org on 2001/07/24 04:41:34 UTC

cvs commit: jakarta-turbine/src/java/org/apache/turbine/services/template TemplateEngineService.java

dlr         01/07/23 19:41:34

  Modified:    src/java/org/apache/turbine/services/template
                        TemplateEngineService.java
  Log:
  Moved lame implementations into TurbineJspService, making current
  hooks abstract.
  
  Revision  Changes    Path
  1.11      +12 -5     jakarta-turbine/src/java/org/apache/turbine/services/template/TemplateEngineService.java
  
  Index: TemplateEngineService.java
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine/src/java/org/apache/turbine/services/template/TemplateEngineService.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -u -r1.10 -r1.11
  --- TemplateEngineService.java	2001/07/17 11:35:36	1.10
  +++ TemplateEngineService.java	2001/07/24 02:41:34	1.11
  @@ -66,7 +66,7 @@
    *
    * @author <a href="mailto:jvanzyl@apache.org">Jason van Zyl</a>
    * @author <a href="mailto:dlr@finemaltcoding.com">Daniel Rall</a>
  - * @version $Id: TemplateEngineService.java,v 1.10 2001/07/17 11:35:36 jvanzyl Exp $ */
  + * @version $Id: TemplateEngineService.java,v 1.11 2001/07/24 02:41:34 dlr Exp $ */
   public interface TemplateEngineService
   {
       public static final String TEMPLATE_EXTENSIONS = "template.extension";
  @@ -110,11 +110,18 @@
        */
       public boolean templateExists(String template);
   
  -    public String handleRequest(TemplateContext context, String template)
  +    /**
  +     * @see org.apache.turbine.services.template.TemplateEngineService
  +     */
  +    public abstract String handleRequest(TemplateContext context,
  +                                         String template)
           throws ServiceException;
   
  -    public void handleRequest(TemplateContext context, 
  -                                String template,
  -                                OutputStream outputStream)
  +    /**
  +     * @see org.apache.turbine.services.template.TemplateEngineService
  +     */
  +    public abstract void handleRequest(TemplateContext context,
  +                                       String template,
  +                                       OutputStream outputStream)
           throws ServiceException;
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org