Mercurial > dive4elements > river
annotate flys-artifacts/src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorB.java @ 4890:bf38ea4cb0f7
Added bodies to macros. Use the bodies of <dc:call-macro><body></dc:call-macro> as <dc:macro-body/> in tthe macro. Example:
<dc:macro name="greet"><hello><dc:macro-body/></hello></dc:macro>
<dc:call-macro name="greet"><planet>Earth</planet></dc:call-macro>
Result:
<hello><panet>Earth</planet></hello>
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Mon, 28 Jan 2013 18:55:55 +0100 |
parents | 9422b559b2d5 |
children |
rev | line source |
---|---|
3115
5482a8a48a3f
I18N of SQ relation charts.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
1 package de.intevation.flys.exports.sq; |
5482a8a48a3f
I18N of SQ relation charts.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
2 |
5482a8a48a3f
I18N of SQ relation charts.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
3 |
5482a8a48a3f
I18N of SQ relation charts.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
4 public class SQRelationGeneratorB extends SQRelationGenerator { |
5482a8a48a3f
I18N of SQ relation charts.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
5 |
5482a8a48a3f
I18N of SQ relation charts.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
6 public static final String I18N_CHART_TITLE = |
5482a8a48a3f
I18N of SQ relation charts.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
7 "chart.sq_relation_b.title"; |
5482a8a48a3f
I18N of SQ relation charts.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
8 |
5482a8a48a3f
I18N of SQ relation charts.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
9 |
5482a8a48a3f
I18N of SQ relation charts.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
10 @Override |
5482a8a48a3f
I18N of SQ relation charts.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
11 public String getDefaultChartTitle() { |
5482a8a48a3f
I18N of SQ relation charts.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
12 return msg(I18N_CHART_TITLE, I18N_CHART_TITLE); |
5482a8a48a3f
I18N of SQ relation charts.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
13 } |
5482a8a48a3f
I18N of SQ relation charts.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
14 } |
3259
9422b559b2d5
Added vim lines.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
3115
diff
changeset
|
15 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |