Mercurial > dive4elements > framework
comparison artifacts/src/main/java/de/intevation/artifacts/Artifact.java @ 47:4ae4dc99127d
Removed trailing whitespace.
artifacts/trunk@167 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Thu, 01 Oct 2009 09:04:17 +0000 |
parents | c2d53bd30ab8 |
children | 9a29899b31e5 |
comparison
equal
deleted
inserted
replaced
46:f2648672c9c4 | 47:4ae4dc99127d |
---|---|
24 * <li>{@link #out(Document, OutputStream, CallContext) out()}: Produces output for this artifact.</li> | 24 * <li>{@link #out(Document, OutputStream, CallContext) out()}: Produces output for this artifact.</li> |
25 * </ol> | 25 * </ol> |
26 * | 26 * |
27 * There are two more methods involved with the life cycle of the are: | 27 * There are two more methods involved with the life cycle of the are: |
28 * <ol> | 28 * <ol> |
29 * <li>{@link #setup(String, ArtifactFactory, Object) setup()}: Called after created by the | 29 * <li>{@link #setup(String, ArtifactFactory, Object) setup()}: Called after created by the |
30 * factory.</li> | 30 * factory.</li> |
31 * <li>{@link #endOfLife(Object) endOfLife()}: Called when the artifact | 31 * <li>{@link #endOfLife(Object) endOfLife()}: Called when the artifact |
32 * is going to be removed from | 32 * is going to be removed from |
33 * system. Useful to clean up.</li> | 33 * system. Useful to clean up.</li> |
34 * </ol> | 34 * </ol> |
79 * @param format Specifies the format of the output. | 79 * @param format Specifies the format of the output. |
80 * @param context The global context of the runtime system. | 80 * @param context The global context of the runtime system. |
81 */ | 81 */ |
82 void out( | 82 void out( |
83 Document format, | 83 Document format, |
84 OutputStream out, | 84 OutputStream out, |
85 CallContext context) | 85 CallContext context) |
86 throws IOException; | 86 throws IOException; |
87 | 87 |
88 /** | 88 /** |
89 * When created by a factory this method is called to | 89 * When created by a factory this method is called to |
91 * @param identifier The identifier from artifact database | 91 * @param identifier The identifier from artifact database |
92 * @param factory The factory which created this artifact. | 92 * @param factory The factory which created this artifact. |
93 * @param context The global context of the runtime system. | 93 * @param context The global context of the runtime system. |
94 */ | 94 */ |
95 public void setup( | 95 public void setup( |
96 String identifier, | 96 String identifier, |
97 ArtifactFactory factory, | 97 ArtifactFactory factory, |
98 Object context); | 98 Object context); |
99 | 99 |
100 /** | 100 /** |
101 * Called from artifact database when an artifact is | 101 * Called from artifact database when an artifact is |