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

Packages that use QueryResult
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.
org.apache.commons.configuration2.tree.xpath
This package contains the `XPathExpressionEngine` class which enables XPATH support for querying configuration properties.

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

  Methods in org.apache.commons.configuration2 that return types with arguments of type QueryResult
  Modifier and Type
  Method
  Description
  `protected List<QueryResult<T>>`
  AbstractHierarchicalConfiguration.`fetchNodeList(String key)`
  Helper method for resolving the specified key.
  `List<QueryResult<T>>`
  AbstractHierarchicalConfiguration.`resolveKey(T root, String key, NodeHandler<T> handler)`
  Performs a query for the specified key on the given root node.

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

  Methods in org.apache.commons.configuration2.tree that return QueryResult
  Modifier and Type
  Method
  Description
  `static <T> QueryResult<T>`
  QueryResult.`createAttributeResult(T parentNode, String attrName)`
  Creates a `QueryResult` instance representing an attribute result.
  `static <T> QueryResult<T>`
  QueryResult.`createNodeResult(T resultNode)`
  Creates a `QueryResult` instance representing the specified result node.
  Methods in org.apache.commons.configuration2.tree that return types with arguments of type QueryResult
  Modifier and Type
  Method
  Description
  `List<QueryResult<ImmutableNode>>`
  InMemoryNodeModel.`clearTree(String key, NodeKeyResolver<ImmutableNode> resolver)`
  Removes the sub trees defined by the given key from this model.
  `List<QueryResult<ImmutableNode>>`
  InMemoryNodeModel.`clearTree(String key, NodeSelector selector, NodeKeyResolver<ImmutableNode> resolver)`
  Clears a whole sub tree using a tracked node as root node.
  `List<QueryResult<ImmutableNode>>`
  TrackedNodeModel.`clearTree(String key, NodeKeyResolver<ImmutableNode> resolver)`
  `Map<QueryResult<T>,Object>`
  NodeUpdateData.`getChangedValues()`
  Gets an unmodifiable map with the values to be changed.
  `Collection<QueryResult<T>>`
  NodeUpdateData.`getRemovedNodes()`
  Adds a collection with the nodes to be removed.
  `<T> List<QueryResult<T>>`
  DefaultExpressionEngine.`query(T root, String key, NodeHandler<T> handler)`
  Finds the nodes and/or attributes that are matched by the specified key.
  `<T> List<QueryResult<T>>`
  ExpressionEngine.`query(T root, String key, NodeHandler<T> handler)`
  Finds the nodes and/or attributes that are matched by the specified key.
  `List<QueryResult<T>>`
  NodeKeyResolver.`resolveKey(T root, String key, NodeHandler<T> handler)`
  Performs a query for the specified key on the given root node.
  Method parameters in org.apache.commons.configuration2.tree with type arguments of type QueryResult
  Modifier and Type
  Method
  Description
  `protected <T> void`
  DefaultExpressionEngine.`findNodesForKey(DefaultConfigurationKey.KeyIterator keyPart, T node, Collection<QueryResult<T>> results, NodeHandler<T> handler)`
  Recursive helper method for evaluating a key.
  Constructor parameters in org.apache.commons.configuration2.tree with type arguments of type QueryResult
  Modifier
  Constructor
  Description
  ``
  `NodeUpdateData(Map<QueryResult<T>,Object> changedValues, Collection<Object> newValues, Collection<QueryResult<T>> removedNodes, String key)`
  Creates a new instance of `NodeUpdateData` and initializes all its properties.

- ## Uses of QueryResult in org.apache.commons.configuration2.tree.xpath

  Methods in org.apache.commons.configuration2.tree.xpath that return types with arguments of type QueryResult
  Modifier and Type
  Method
  Description
  `<T> List<QueryResult<T>>`
  XPathExpressionEngine.`query(T root, String key, NodeHandler<T> handler)`
  Finds the nodes and/or attributes that are matched by the specified key.