[Dive4elements-commits] [PATCH 1 of 4] StackFrames: Doc

Wald Commits scm-commit at wald.intevation.org
Wed Jan 30 15:47:41 CET 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1359552766 -3600
# Branch dc-km-filter
# Node ID 4d1e2a0c283a16d33b34212c5a31c44a6e1bebc7
# Parent  aa67a88314f227196f024f167bd5f7d08b044ec4
StackFrames: Doc.

diff -r aa67a88314f2 -r 4d1e2a0c283a flys-artifacts/src/main/java/de/intevation/flys/artifacts/datacage/templating/StackFrames.java
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/datacage/templating/StackFrames.java	Wed Jan 30 08:26:54 2013 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/datacage/templating/StackFrames.java	Wed Jan 30 14:32:46 2013 +0100
@@ -16,7 +16,9 @@
 
 /**
  * Maintains stack of 'frames' which are maps from string to object.
- * Used for variables in datacage/meta-data system.
+ * Used for variables in datacage/meta-data system and acts
+ * as a XPathVariablResolver in xpath evaluation, e.g. by own
+ * dc: - methods.
  */
 public class StackFrames
 implements   XPathVariableResolver
@@ -101,7 +103,11 @@
         return false;
     }
 
-    public Object get(String key, Object def) {
+    /**
+     * Returns Object stored for as key, parameter def
+     * if not found.
+     */
+    private Object get(String key, Object def) {
 
         key = key.toUpperCase();
 


More information about the Dive4elements-commits mailing list