comparison artifacts/src/main/java/org/dive4elements/river/artifacts/services/MetaDataService.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 af13ceeba52a
children 5030c46d8cb4 0a5239a1e46e
comparison
equal deleted inserted replaced
8855:d7c005e12af0 8856:5e38e2924c07
35 * Following XPaths are evaluated on the incoming document. 35 * Following XPaths are evaluated on the incoming document.
36 * 36 *
37 * "/art:meta/art:artifact-id/@value" The UUID of the artifact. Optional. 37 * "/art:meta/art:artifact-id/@value" The UUID of the artifact. Optional.
38 * Used to fill the template enviroment. 38 * Used to fill the template enviroment.
39 * "/art:meta/art:user-id/@value" The UUID of the user. Optional. 39 * "/art:meta/art:user-id/@value" The UUID of the user. Optional.
40 * If given the user specific template is filled. 40 * If given the user specific template is
41 * "/art:meta/art:outs/@value" The list of outs used to recommend for the 41 * filled.
42 * "/art:meta/art:outs/@value" The list of outs used to recommend
43 * for the
42 * various outputs. 44 * various outputs.
43 * "/art:meta/art:parameters/@value" A list of key/value pairs to inject more 45 * "/art:meta/art:parameters/@value" A list of key/value pairs to inject more
44 * filters to the templating, as "key:value;key2:value2" 46 * filters to the templating, as
47 * "key:value;key2:value2"
45 */ 48 */
46 public class MetaDataService 49 public class MetaDataService
47 extends D4EService 50 extends D4EService
48 { 51 {
49 private static Logger log = Logger.getLogger(MetaDataService.class); 52 private static Logger log = Logger.getLogger(MetaDataService.class);
50 53
51 public static final String XPATH_ARTIFACT_ID = "/art:meta/art:artifact-id/@value"; 54 public static final String XPATH_ARTIFACT_ID =
52 public static final String XPATH_USER_ID = "/art:meta/art:user-id/@value"; 55 "/art:meta/art:artifact-id/@value";
53 public static final String XPATH_OUTS = "/art:meta/art:outs/@value"; 56 public static final String XPATH_USER_ID =
54 public static final String XPATH_PARAMETERS = "/art:meta/art:parameters/@value"; 57 "/art:meta/art:user-id/@value";
58 public static final String XPATH_OUTS =
59 "/art:meta/art:outs/@value";
60 public static final String XPATH_PARAMETERS =
61 "/art:meta/art:parameters/@value";
55 62
56 /** The global context key of the artifact database. */ 63 /** The global context key of the artifact database. */
57 public static final String ARTIFACT_DATA_BASE_KEY = 64 public static final String ARTIFACT_DATA_BASE_KEY =
58 "global.artifact.database"; 65 "global.artifact.database";
59 66

http://dive4elements.wald.intevation.org