Class ViewNode

All Implemented Interfaces:
Cloneable, ConfigurationNode

public class ViewNode extends DefaultConfigurationNode

A specialized node implementation to be used in view configurations.

Some configurations provide a logical view on the nodes of other configurations. These configurations construct their own hierarchy of nodes based on the node trees of their source configurations. This special node class can be used for this purpose. It allows child nodes and attributes to be added without changing their parent node. So a node can belong to a hierarchy of nodes of a source configuration, but be also contained in a view configuration.

Since:
1.3
Version:
$Id: ViewNode.java 1206488 2011-11-26 16:42:41Z oheger $
Author:
Commons Configuration team