| 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. |
| Modifier and Type | Method | Description |
|---|---|---|
protected java.util.List<QueryResult<T>> |
AbstractHierarchicalConfiguration.fetchNodeList(java.lang.String key) |
Helper method for resolving the specified key.
|
java.util.List<QueryResult<T>> |
AbstractHierarchicalConfiguration.resolveKey(T root,
java.lang.String key,
NodeHandler<T> handler) |
Performs a query for the specified key on the given root node.
|
| Modifier and Type | Method | Description |
|---|---|---|
static <T> QueryResult<T> |
QueryResult.createAttributeResult(T parentNode,
java.lang.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. |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<QueryResult<ImmutableNode>> |
InMemoryNodeModel.clearTree(java.lang.String key,
NodeKeyResolver<ImmutableNode> resolver) |
Removes the sub trees defined by the given key from this model.
|
java.util.List<QueryResult<ImmutableNode>> |
InMemoryNodeModel.clearTree(java.lang.String key,
NodeSelector selector,
NodeKeyResolver<ImmutableNode> resolver) |
Clears a whole sub tree using a tracked node as root node.
|
java.util.List<QueryResult<ImmutableNode>> |
TrackedNodeModel.clearTree(java.lang.String key,
NodeKeyResolver<ImmutableNode> resolver) |
|
java.util.Map<QueryResult<T>,java.lang.Object> |
NodeUpdateData.getChangedValues() |
Returns an unmodifiable map with the values to be changed.
|
java.util.Collection<QueryResult<T>> |
NodeUpdateData.getRemovedNodes() |
Adds a collection with the nodes to be removed.
|
<T> java.util.List<QueryResult<T>> |
DefaultExpressionEngine.query(T root,
java.lang.String key,
NodeHandler<T> handler) |
Finds the nodes and/or attributes that are matched by the specified key.
|
<T> java.util.List<QueryResult<T>> |
ExpressionEngine.query(T root,
java.lang.String key,
NodeHandler<T> handler) |
Finds the nodes and/or attributes that are matched by the specified key.
|
java.util.List<QueryResult<T>> |
NodeKeyResolver.resolveKey(T root,
java.lang.String key,
NodeHandler<T> handler) |
Performs a query for the specified key on the given root node.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected <T> void |
DefaultExpressionEngine.findNodesForKey(DefaultConfigurationKey.KeyIterator keyPart,
T node,
java.util.Collection<QueryResult<T>> results,
NodeHandler<T> handler) |
Recursive helper method for evaluating a key.
|
| Constructor | Description |
|---|---|
NodeUpdateData(java.util.Map<QueryResult<T>,java.lang.Object> changedValues,
java.util.Collection<java.lang.Object> newValues,
java.util.Collection<QueryResult<T>> removedNodes,
java.lang.String key) |
Creates a new instance of
NodeUpdateData and initializes all its
properties. |
| Modifier and Type | Method | Description |
|---|---|---|
<T> java.util.List<QueryResult<T>> |
XPathExpressionEngine.query(T root,
java.lang.String key,
NodeHandler<T> handler) |
Finds the nodes and/or attributes that are matched by the specified key.
|
Copyright © 2001–2018. All rights reserved.