/** * Visits the specified node. If this node has a value, its key is added * to the internal list. * * @param node the node to be visited */ @Override public void visitBeforeChildren(ConfigurationNode node) { String parentKey = parentKeys.isEmpty() ? null : (String) parentKeys.peek(); String key = getExpressionEngine().nodeKey(node, parentKey); parentKeys.push(key); if (node.getValue() != null) { keyList.add(key); } } }
/** * Visits the specified node. If this node has a value, its key is added * to the internal list. * * @param node the node to be visited */ @Override public void visitBeforeChildren(ConfigurationNode node) { String parentKey = parentKeys.isEmpty() ? null : (String) parentKeys.peek(); String key = getExpressionEngine().nodeKey(node, parentKey); parentKeys.push(key); if (node.getValue() != null) { keyList.add(key); } } }
for (ConfigurationNode pathNode : lstPathToRoot) key = getParent().getExpressionEngine().nodeKey(pathNode, key);
for (ConfigurationNode pathNode : lstPathToRoot) key = getParent().getExpressionEngine().nodeKey(pathNode, key);