Package | Description |
---|---|
org.apache.commons.configuration2 |
The Configuration main package.
|
org.apache.commons.configuration2.builder |
This package contains the implementations of configuration builder
classes used to create new
Configuration objects. |
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 and Description |
---|---|
ExpressionEngine |
CombinedConfiguration.getConversionExpressionEngine()
Returns the
ExpressionEngine for converting flat child
configurations to hierarchical ones. |
ExpressionEngine |
PatternSubtreeConfigurationWrapper.getExpressionEngine() |
ExpressionEngine |
ImmutableHierarchicalConfiguration.getExpressionEngine()
Returns the expression engine used by this configuration.
|
ExpressionEngine |
AbstractHierarchicalConfiguration.getExpressionEngine()
Returns the expression engine used by this configuration.
|
ExpressionEngine |
DynamicCombinedConfiguration.getExpressionEngine() |
Modifier and Type | Method and Description |
---|---|
static HierarchicalConfiguration<?> |
ConfigurationUtils.convertToHierarchical(Configuration conf,
ExpressionEngine engine)
Converts the passed in
Configuration object to a
hierarchical one using the specified ExpressionEngine . |
void |
CombinedConfiguration.setConversionExpressionEngine(ExpressionEngine conversionExpressionEngine)
Sets the
ExpressionEngine for converting flat child
configurations to hierarchical ones. |
void |
PatternSubtreeConfigurationWrapper.setExpressionEngine(ExpressionEngine expressionEngine) |
void |
AbstractHierarchicalConfiguration.setExpressionEngine(ExpressionEngine expressionEngine)
Sets the expression engine to be used by this configuration.
|
void |
HierarchicalConfiguration.setExpressionEngine(ExpressionEngine expressionEngine)
Sets the expression engine to be used by this configuration.
|
void |
DynamicCombinedConfiguration.setExpressionEngine(ExpressionEngine expressionEngine) |
Modifier and Type | Method and Description |
---|---|
T |
HierarchicalBuilderProperties.setExpressionEngine(ExpressionEngine engine)
Sets the
ExpressionEngine to be used when querying the
configuration. |
HierarchicalBuilderParametersImpl |
HierarchicalBuilderParametersImpl.setExpressionEngine(ExpressionEngine engine)
Sets the
ExpressionEngine to be used when querying the
configuration. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultExpressionEngine
A default implementation of the
ExpressionEngine interface
providing the "native" expression language for hierarchical
configurations. |
Modifier and Type | Class and Description |
---|---|
class |
XPathExpressionEngine
A specialized implementation of the
ExpressionEngine interface that
is able to evaluate XPATH expressions. |
Copyright © 2001–2020 The Apache Software Foundation. All rights reserved.