Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/exports/AbstractExporter.java @ 1160:efe1b8545f5c
Cosmetics
flys-artifacts/trunk@2696 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Mon, 12 Sep 2011 09:00:08 +0000 |
parents | cded0924193d |
children | bdb05dc9b763 |
comparison
equal
deleted
inserted
replaced
1159:fb5a7ff9feb8 | 1160:efe1b8545f5c |
---|---|
33 | 33 |
34 /** The logger used in this exporter.*/ | 34 /** The logger used in this exporter.*/ |
35 private static Logger logger = Logger.getLogger(AbstractExporter.class); | 35 private static Logger logger = Logger.getLogger(AbstractExporter.class); |
36 | 36 |
37 | 37 |
38 /** The name of the CSV facet which triggers the CSV creation.*/ | 38 /** The name of the CSV facet which triggers the CSV creation. */ |
39 public static final String FACET_CSV = "csv"; | 39 public static final String FACET_CSV = "csv"; |
40 | 40 |
41 /** The default charset for the CSV export.*/ | 41 /** The default charset for the CSV export. */ |
42 public static final String DEFAULT_CSV_CHARSET = "UTF-8"; | 42 public static final String DEFAULT_CSV_CHARSET = "UTF-8"; |
43 | 43 |
44 /** The default separator for the CSV export.*/ | 44 /** The default separator for the CSV export. */ |
45 public static final char DEFAULT_CSV_SEPARATOR = ','; | 45 public static final char DEFAULT_CSV_SEPARATOR = ','; |
46 | 46 |
47 /** XPath that points to the desired export facet.*/ | 47 /** XPath that points to the desired export facet. */ |
48 public static final String XPATH_FACET = "/art:action/@art:type"; | 48 public static final String XPATH_FACET = "/art:action/@art:type"; |
49 | 49 |
50 | 50 |
51 /** The document of the incoming out() request.*/ | 51 /** The document of the incoming out() request. */ |
52 protected Document request; | 52 protected Document request; |
53 | 53 |
54 /** The output stream where the data should be written to.*/ | 54 /** The output stream where the data should be written to. */ |
55 protected OutputStream out; | 55 protected OutputStream out; |
56 | 56 |
57 /** The CallContext object.*/ | 57 /** The CallContext object. */ |
58 protected CallContext context; | 58 protected CallContext context; |
59 | 59 |
60 /** The selected facet.*/ | 60 /** The selected facet. */ |
61 protected String facet; | 61 protected String facet; |
62 | 62 |
63 /** The master artifact.*/ | 63 /** The master artifact. */ |
64 protected Artifact master; | 64 protected Artifact master; |
65 | 65 |
66 | 66 |
67 /** | 67 /** |
68 * Concrete subclasses need to use this method to write their special data | 68 * Concrete subclasses need to use this method to write their special data |