View Javadoc
1 /* 2 * Copyright (c) 2003 3 * Information Desire GmbH 4 * All rights reserved. 5 */ 6 package com.infodesire.infobit.render; 7 8 import java.io.InputStream; 9 import java.io.Reader; 10 import java.io.Writer; 11 12 import com.infodesire.infobit.InfobitManager; 13 import com.infodesire.infobit.data.Infobit; 14 import com.infodesire.infobit.data.Content; 15 16 import java.util.Properties; 17 import java.util.Map; 18 /*** 19 * implementors are able to render infobits into whatever shape they like 20 * 21 * @author konstantin 22 * @created August 21, 2003 23 * @version $Revision: 1.4 $ 24 */ 25 public interface InfobitRenderer { 26 27 /*** 28 * infobit manager to work with 29 * 30 * @param manager The new Manager value 31 */ 32 void setManager(InfobitManager manager); 33 34 35 /*** 36 * infobit manager to work with 37 * 38 * @return The Manager value 39 */ 40 InfobitManager getManager(); 41 42 43 /*** 44 * render given infobit content 45 * 46 * @param writer Description of Parameter 47 * @param name Description of Parameter 48 * @param parameters parameters to pass to the rendering engine. 49 * @exception Exception Description of Exception 50 */ 51 void render(String name, Writer writer, Map parameters) throws Exception; 52 53 54 /*** 55 * initialize renderer with properties. property names are described in 56 * implementing class 57 * 58 * @param properties Description of Parameter 59 */ 60 void init(Properties properties); 61 }

This page was automatically generated by Maven