Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/ShapeExporter.java @ 8856:5e38e2924c07 3.2.x
Fix code style.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 18 Jan 2018 20:12:01 +0100 |
parents | e4606eae8ea5 |
children | a805211690f7 |
comparison
equal
deleted
inserted
replaced
8855:d7c005e12af0 | 8856:5e38e2924c07 |
---|---|
35 public void setup(Object config) { | 35 public void setup(Object config) { |
36 log.debug("ShapeExporter.setup"); | 36 log.debug("ShapeExporter.setup"); |
37 } | 37 } |
38 | 38 |
39 @Override | 39 @Override |
40 public void init(String outName, Document request, OutputStream out, CallContext context) { | 40 public void init( |
41 String outName, | |
42 Document request, | |
43 OutputStream out, | |
44 CallContext context | |
45 ) { | |
41 this.outName = outName; | 46 this.outName = outName; |
42 this.request = request; | 47 this.request = request; |
43 this.out = out; | 48 this.out = out; |
44 this.context = context; | 49 this.context = context; |
45 } | 50 } |
53 public void setCollection(D4EArtifactCollection collection) { | 58 public void setCollection(D4EArtifactCollection collection) { |
54 this.collection = collection; | 59 this.collection = collection; |
55 } | 60 } |
56 | 61 |
57 @Override | 62 @Override |
58 public void doOut(ArtifactAndFacet bundle, ThemeDocument attr, boolean visible) { | 63 public void doOut( |
64 ArtifactAndFacet bundle, | |
65 ThemeDocument attr, | |
66 boolean visible | |
67 ) { | |
59 String name = bundle.getFacetName(); | 68 String name = bundle.getFacetName(); |
60 | 69 |
61 if (!isFacetValid(name)) { | 70 if (!isFacetValid(name)) { |
62 log.debug("Facet '" + name + "' is not valid for this exporter!"); | 71 log.debug("Facet '" + name + "' is not valid for this exporter!"); |
63 return; | 72 return; |