Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/utils/ThemeUtil.java @ 3256:17ca0a43027a
Removed trailing whitespace
flys-artifacts/trunk@4890 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sat, 07 Jul 2012 09:23:33 +0000 |
parents | 9a4707ec7800 |
children | f062b5a90e26 |
comparison
equal
deleted
inserted
replaced
3255:4246851312e6 | 3256:17ca0a43027a |
---|---|
86 public final static String XPATH_SHOW_LEVEL = | 86 public final static String XPATH_SHOW_LEVEL = |
87 "/theme/field[@name='showwidth']/@default"; | 87 "/theme/field[@name='showwidth']/@default"; |
88 | 88 |
89 public final static String XPATH_TRANSPARENCY = | 89 public final static String XPATH_TRANSPARENCY = |
90 "/theme/field[@name='transparent']/@default"; | 90 "/theme/field[@name='transparent']/@default"; |
91 | 91 |
92 public final static String XPATH_TRANSPARENCY_ALPHA = | 92 public final static String XPATH_TRANSPARENCY_ALPHA = |
93 "/theme/field[@name='alpha']/@default"; | 93 "/theme/field[@name='alpha']/@default"; |
94 | 94 |
95 public final static String XPATH_SHOW_AREA = | 95 public final static String XPATH_SHOW_AREA = |
96 "/theme/field[@name='showarea']/@default"; | 96 "/theme/field[@name='showarea']/@default"; |
557 } | 557 } |
558 | 558 |
559 public static String getTransparencyString(Document theme) { | 559 public static String getTransparencyString(Document theme) { |
560 return XMLUtils.xpathString(theme, XPATH_TRANSPARENCY, null); | 560 return XMLUtils.xpathString(theme, XPATH_TRANSPARENCY, null); |
561 } | 561 } |
562 | 562 |
563 | 563 |
564 public static String getTransparencyAlpha(Document theme) { | 564 public static String getTransparencyAlpha(Document theme) { |
565 return XMLUtils.xpathString(theme, XPATH_TRANSPARENCY_ALPHA, null); | 565 return XMLUtils.xpathString(theme, XPATH_TRANSPARENCY_ALPHA, null); |
566 } | 566 } |
567 | 567 |
568 | 568 |
569 public static String getShowMinimum(Document theme) { | 569 public static String getShowMinimum(Document theme) { |
570 return XMLUtils.xpathString(theme, XPATH_SHOW_MINIMUM, null); | 570 return XMLUtils.xpathString(theme, XPATH_SHOW_MINIMUM, null); |
571 } | 571 } |
572 | 572 |
573 | 573 |
574 public static String getShowMaximum(Document theme) { | 574 public static String getShowMaximum(Document theme) { |
575 return XMLUtils.xpathString(theme, XPATH_SHOW_MAXIMUM, null); | 575 return XMLUtils.xpathString(theme, XPATH_SHOW_MAXIMUM, null); |
576 } | 576 } |
577 | 577 |