comparison artifacts/src/main/java/de/intevation/artifacts/Artifact.java @ 269:d9a99b28a847

Added support for the 'type' parameter of artifacts and collections out() call. artifacts/trunk@2030 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 31 May 2011 14:53:36 +0000
parents a1200c6ed048
children 694d818e99b2
comparison
equal deleted inserted replaced
268:4edaf3073109 269:d9a99b28a847
102 OutputStream out, 102 OutputStream out,
103 CallContext context) 103 CallContext context)
104 throws IOException; 104 throws IOException;
105 105
106 /** 106 /**
107 * Produce output for this artifact.
108 * @param type Specifies the type of the output.
109 * @param format Specifies the format of the output.
110 * @param out Stream to write the result data to.
111 * @param context The global context of the runtime system.
112 * @throws IOException Thrown if an I/O occurs.
113 */
114 void out(
115 String type,
116 Document format,
117 OutputStream out,
118 CallContext context)
119 throws IOException;
120
121 /**
107 * When created by a factory this method is called to 122 * When created by a factory this method is called to
108 * initialize the artifact. 123 * initialize the artifact.
109 * @param identifier The identifier from artifact database 124 * @param identifier The identifier from artifact database
110 * @param factory The factory which created this artifact. 125 * @param factory The factory which created this artifact.
111 * @param context The global context of the runtime system. 126 * @param context The global context of the runtime system.

http://dive4elements.wald.intevation.org