Uses of Class org.apache.commons.configuration2.tree.NodeSelector (Apache Commons Configuration 2.15.1 API)
Description: use: package: org.apache.commons.configuration2.tree, class: NodeSelector

# 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
  Description
  `NodeSelector`
  SubnodeConfiguration.`getRootSelector()`
  Gets the selector to the root node of this configuration.
  `protected NodeSelector`
  BaseHierarchicalConfiguration.`getSubConfigurationNodeSelector(String key)`
  Gets the `NodeSelector` to be used for a sub configuration based on the passed in key.
  `protected NodeSelector`
  SubnodeConfiguration.`getSubConfigurationNodeSelector(String key)`
  Gets 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
  Description
  `protected SubnodeConfiguration`
  BaseHierarchicalConfiguration.`createSubConfigurationForTrackedNode(NodeSelector selector, InMemoryNodeModelSupport parentModelSupport)`
  Creates a connected sub configuration based on a selector for a tracked node.
  `protected SubnodeConfiguration`
  SubnodeConfiguration.`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
  Description
  `NodeSelector`
  TrackedNodeModel.`getSelector()`
  Gets 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
  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
  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)`
  Gets the current `ImmutableNode` instance associated with the given `NodeSelector`.
  `NodeHandler<ImmutableNode>`
  InMemoryNodeModel.`getTrackedNodeHandler(NodeSelector selector)`
  Gets 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
  Modifier
  Constructor
  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.