1 26 27 package org.objectweb.openccm.generator.common.api; 28 29 32 public interface Generator 33 { 34 39 public void 40 setRessourcePath(java.util.List v); 41 42 47 public void 48 setLibrary(java.util.List v); 49 50 55 public void 56 setContext(org.apache.velocity.context.Context context); 57 58 61 public void 62 disableLog(); 63 64 67 public void 68 init(); 69 70 76 public void 77 open(String filename, String id); 78 79 86 public void 87 close(String id, boolean indent); 88 89 94 public void 95 close(String id); 96 97 102 public void 103 switchToFile(String id); 104 105 112 public Object 113 get(String key); 114 115 121 public void 122 put(String key, Object value); 123 124 129 public void 130 remove(Object key); 131 132 137 public void 138 map_file(String template_name); 139 140 146 public void 147 map_file(String template_name, String id); 148 149 154 public void 155 map(String macro_name); 156 157 163 public void 164 map(String macro_name, org.apache.velocity.context.Context context); 165 166 172 public void 173 map(String macro_name, String id); 174 175 180 public void 181 print(String text); 182 183 189 public void 190 print(String text, String id); 191 192 199 public String 200 print_spaces(int nb); 201 } 202 | Popular Tags |