1 package com.teamkonzept.lib; 2 3 import java.io.*; 4 5 import com.teamkonzept.lib.TKException; 6 import com.teamkonzept.lib.templates.*; 7 import javax.servlet.http.HttpServletRequest ; 8 13 public interface TemplateBasic 14 { 15 18 void set( TKHashtable aSubst ); 19 20 void set( String key, Object val ); 21 22 void setOriginalRequest(HttpServletRequest request); 23 24 String getType(); 25 38 39 String getText(); 40 41 52 void printTemplate( PrintStream out ); 53 54 65 void printTemplate( Writer writer ) throws IOException; 66 67 78 void printTemplate(); 79 80 93 void printTemplate(String file) throws IOException; 94 95 104 void doTagSubstitution() throws TKTemplateSyntaxException; 105 106 114 void doMainSubstitutions() throws TKTemplateSyntaxException; 115 116 DOMTemplateData getDOMData(); 117 118 } 119 120 121 | Popular Tags |