## Uses of Class
org.apache.commons.configuration2.tree.NodeSelector

- Packages that use NodeSelector
  Package | Description
  --- | ---
  org.apache.commons.configuration2 | The Configuration main package.
  org.apache.commons.configuration2.tree | A package with helper and utility classes used by hierarchical configurations.

- - ### Uses of NodeSelector in org.apache.commons.configuration2

    Methods in org.apache.commons.configuration2 that return NodeSelector
    Modifier and Type | Method and Description
    --- | ---
    `NodeSelector` | SubnodeConfiguration.`getRootSelector()` Returns the selector to the root node of this configuration.
    `protected NodeSelector` | SubnodeConfiguration.`getSubConfigurationNodeSelector(String key)` Returns the `NodeSelector` to be used for a sub configuration based on the passed in key.
    `protected NodeSelector` | BaseHierarchicalConfiguration.`getSubConfigurationNodeSelector(String key)` Returns the `NodeSelector` to be used for a sub configuration based on the passed in key.

    Methods in org.apache.commons.configuration2 with parameters of type NodeSelector
    Modifier and Type | Method and Description
    --- | ---
    `protected SubnodeConfiguration` | BaseHierarchicalConfiguration.`createSubConfigurationForTrackedNode(NodeSelector selector, InMemoryNodeModelSupport parentModelSupport)` Creates a connected sub configuration based on a selector for a tracked node.

  - ### Uses of NodeSelector in org.apache.commons.configuration2.tree

    Methods in org.apache.commons.configuration2.tree that return NodeSelector
    Modifier and Type | Method and Description
    --- | ---
    `NodeSelector` | TrackedNodeModel.`getSelector()` Returns the `NodeSelector` pointing to the tracked node managed by this model.
    `NodeSelector` | NodeSelector.`subSelector(String subKey)` Creates a sub `NodeSelector` object which uses the key(s) of this selector plus the specified key as selection criteria.
    `NodeSelector` | InMemoryNodeModel.`trackChildNodeWithCreation(String key, String childName, NodeKeyResolver<ImmutableNode> resolver)` Tracks a node which is a child of another node selected by the passed in key.

    Methods in org.apache.commons.configuration2.tree that return types with arguments of type NodeSelector
    Modifier and Type | Method and Description
    --- | ---
    `Collection<NodeSelector>` | InMemoryNodeModel.`selectAndTrackNodes(String key, NodeKeyResolver<ImmutableNode> resolver)` Allows tracking all nodes selected by a key.
    `Collection<NodeSelector>` | InMemoryNodeModel.`trackChildNodes(String key, NodeKeyResolver<ImmutableNode> resolver)` Tracks all nodes which are children of the node selected by the passed in key.

    Methods in org.apache.commons.configuration2.tree with parameters of type NodeSelector
    Modifier and Type | Method and Description
    --- | ---
    `void` | InMemoryNodeModel.`addNodes(String key, NodeSelector selector, Collection<? extends ImmutableNode> nodes, NodeKeyResolver<ImmutableNode> resolver)` Adds new nodes using a tracked node as root node.
    `void` | InMemoryNodeModel.`addProperty(String key, NodeSelector selector, Iterable<?> values, NodeKeyResolver<ImmutableNode> resolver)` Adds new property values using a tracked node as root node.
    `void` | InMemoryNodeModel.`clearProperty(String key, NodeSelector selector, NodeKeyResolver<ImmutableNode> resolver)` Clears a property using a tracked node as root node.
    `List<QueryResult<ImmutableNode>>` | InMemoryNodeModel.`clearTree(String key, NodeSelector selector, NodeKeyResolver<ImmutableNode> resolver)` Clears a whole sub tree using a tracked node as root node.
    `ImmutableNode` | InMemoryNodeModel.`getTrackedNode(NodeSelector selector)` Returns the current `ImmutableNode` instance associated with the given `NodeSelector`.
    `NodeHandler<ImmutableNode>` | InMemoryNodeModel.`getTrackedNodeHandler(NodeSelector selector)` Returns a `NodeHandler` for a tracked node.
    `boolean` | InMemoryNodeModel.`isTrackedNodeDetached(NodeSelector selector)` Returns a flag whether the specified tracked node is detached.
    `void` | InMemoryNodeModel.`replaceTrackedNode(NodeSelector selector, ImmutableNode newNode)` Replaces a tracked node by another node.
    `void` | InMemoryNodeModel.`setProperty(String key, NodeSelector selector, Object value, NodeKeyResolver<ImmutableNode> resolver)` Sets the value of a property using a tracked node as root node.
    `void` | InMemoryNodeModel.`trackNode(NodeSelector selector, NodeKeyResolver<ImmutableNode> resolver)` Adds a node to be tracked.
    `void` | InMemoryNodeModel.`untrackNode(NodeSelector selector)` Removes a tracked node.

    Constructors in org.apache.commons.configuration2.tree with parameters of type NodeSelector
    Constructor and Description
    `TrackedNodeModel(InMemoryNodeModelSupport modelSupport, NodeSelector sel, boolean untrackOnFinalize)` Creates a new instance of `TrackedNodeModel` and initializes it with the given underlying model and the selector to the root node.

Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.