changeset 4914:4d1e2a0c283a dc-km-filter

StackFrames: Doc.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 30 Jan 2013 14:32:46 +0100
parents aa67a88314f2
children bbedd9af069e
files flys-artifacts/src/main/java/de/intevation/flys/artifacts/datacage/templating/StackFrames.java
diffstat 1 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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();
 

http://dive4elements.wald.intevation.org