Uses of Interface
org.apache.commons.configuration2.HierarchicalConfiguration
Package
Description
The Configuration main package.
In this package a
Configuration
implementation can be found that implements the DynaBean
interface.
A package containing the implementation of the builder for combined configurations.
Configuration classes supporting NeXT / OpenStep /GNUStep style configuration.
-
Uses of HierarchicalConfiguration in org.apache.commons.configuration2
Modifier and TypeClassDescriptionclass
A specialized configuration class that extends its base class by the ability of keeping more structure in the stored properties.class
A base class for configuration implementations based on YAML structures.class
A specialized hierarchical configuration implementation that is based on a structure ofImmutableNode
objects.class
A hierarchical composite configuration class.class
DynamicCombinedConfiguration allows a set of CombinedConfigurations to be used.class
A specialized hierarchical configuration implementation for parsing ini files.class
A specialized hierarchical configuration class that is able to parse JSON documents.class
Wraps a BaseHierarchicalConfiguration and allows subtrees to be accessed via a configured path with replaceable tokens derived from the ConfigurationInterpolator.class
A specialized hierarchical configuration class with a node model that uses a tracked node of another node model as its root node.class
A specialized hierarchical configuration class that is able to parse XML documents.class
A specialized hierarchical configuration class that is able to parse YAML documents.Modifier and TypeMethodDescriptionBaseHierarchicalConfiguration.configurationAt
(String key) Returns a hierarchical subnode configuration for the node specified by the given key.BaseHierarchicalConfiguration.configurationAt
(String key, boolean supportUpdates) Returns a hierarchical sub configuration object that wraps the configuration node specified by the given key.DynamicCombinedConfiguration.configurationAt
(String key) DynamicCombinedConfiguration.configurationAt
(String key, boolean supportUpdates) HierarchicalConfiguration.configurationAt
(String key) Returns a hierarchical subnode configuration for the node specified by the given key.HierarchicalConfiguration.configurationAt
(String key, boolean supportUpdates) Returns a hierarchical sub configuration object that wraps the configuration node specified by the given key.PatternSubtreeConfigurationWrapper.configurationAt
(String key) PatternSubtreeConfigurationWrapper.configurationAt
(String key, boolean supportUpdates) static HierarchicalConfiguration<?>
ConfigurationUtils.convertToHierarchical
(Configuration conf) Converts the passed in configuration to a hierarchical one.static HierarchicalConfiguration<?>
ConfigurationUtils.convertToHierarchical
(Configuration conf, ExpressionEngine engine) Converts the passed inConfiguration
object to a hierarchical one using the specifiedExpressionEngine
.HierarchicalConfigurationXMLReader.getConfiguration()
Gets the configuration object to be parsed.Modifier and TypeMethodDescriptionBaseHierarchicalConfiguration.childConfigurationsAt
(String key) Returns a list with sub configurations for all child nodes of the node selected by the given key.BaseHierarchicalConfiguration.childConfigurationsAt
(String key, boolean supportUpdates) Returns a list with sub configurations for all child nodes of the node selected by the given key allowing the caller to specify thesupportUpdates
flag.HierarchicalConfiguration.childConfigurationsAt
(String key) Returns a list with sub configurations for all child nodes of the node selected by the given key.HierarchicalConfiguration.childConfigurationsAt
(String key, boolean supportUpdates) Returns a list with sub configurations for all child nodes of the node selected by the given key allowing the caller to specify thesupportUpdates
flag.BaseHierarchicalConfiguration.configurationsAt
(String key) Returns a list of sub configurations for all configuration nodes selected by the given key.BaseHierarchicalConfiguration.configurationsAt
(String key, boolean supportUpdates) Returns a list of sub configurations for all configuration nodes selected by the given key allowing the caller to specify thesupportUpdates
flag.DynamicCombinedConfiguration.configurationsAt
(String key) HierarchicalConfiguration.configurationsAt
(String key) Returns a list of sub configurations for all configuration nodes selected by the given key.HierarchicalConfiguration.configurationsAt
(String key, boolean supportUpdates) Returns a list of sub configurations for all configuration nodes selected by the given key allowing the caller to specify thesupportUpdates
flag.PatternSubtreeConfigurationWrapper.configurationsAt
(String key) Modifier and TypeMethodDescriptionvoid
HierarchicalConfigurationXMLReader.setConfiguration
(HierarchicalConfiguration<T> config) Sets the configuration object to be parsed.ConfigurationUtils.unmodifiableConfiguration
(HierarchicalConfiguration<?> c) Creates anImmutableHierarchicalConfiguration
from the givenHierarchicalConfiguration
object.ModifierConstructorDescriptionprotected
Creates a new instance ofAbstractYAMLBasedConfiguration
as a copy of the specified configuration.Creates a new instance ofBaseHierarchicalConfiguration
and copies all data contained in the specified configuration into the new one.Creates a new instance ofHierarchicalConfigurationXMLReader
and sets the configuration to be parsed.Creates a new instance ofINIConfiguration
with the content of the specifiedHierarchicalConfiguration
.Creates a new instance ofJSONConfiguration
as a copy of the specified configuration.ConstructorCreates a new instance ofXMLConfiguration
and copies the content of the passed in configuration into this object.Creates a new instance ofYAMLConfiguration
as a copy of the specified configuration. -
Uses of HierarchicalConfiguration in org.apache.commons.configuration2.beanutils
Modifier and TypeMethodDescriptionXMLBeanDeclaration.getConfiguration()
Gets the configuration object this bean declaration is based on.ModifierConstructorDescriptionXMLBeanDeclaration
(HierarchicalConfiguration<T> config) Constructs a new instance ofXMLBeanDeclaration
and initializes it from the given configuration.XMLBeanDeclaration
(HierarchicalConfiguration<T> config, String key) Constructs a new instance ofXMLBeanDeclaration
and initializes it from the given configuration.XMLBeanDeclaration
(HierarchicalConfiguration<T> config, String key, boolean optional) Constructs a new instance ofXMLBeanDeclaration
and initializes it from the given configuration supporting optional declarations.XMLBeanDeclaration
(HierarchicalConfiguration<T> config, String key, boolean optional, String defBeanClsName) Constructs a new instance ofXMLBeanDeclaration
and initializes it from the given configuration supporting optional declarations and a default bean class name. -
Uses of HierarchicalConfiguration in org.apache.commons.configuration2.builder.combined
Modifier and TypeMethodDescriptionprotected HierarchicalConfiguration<?>
CombinedConfigurationBuilder.getDefinitionConfiguration()
Gets the configuration containing the definition of the combined configuration to be created.Modifier and TypeMethodDescriptionprotected ConfigurationBuilder<? extends HierarchicalConfiguration<?>>
CombinedConfigurationBuilder.createXMLDefinitionBuilder
(BuilderParameters builderParams) Creates a default builder for the definition configuration and initializes it with a parameters object.protected ConfigurationBuilder<? extends HierarchicalConfiguration<?>>
ReloadingCombinedConfigurationBuilder.createXMLDefinitionBuilder
(BuilderParameters builderParams) Creates a default builder for the definition configuration and initializes it with a parameters object.ConfigurationBuilder<? extends HierarchicalConfiguration<?>>
CombinedBuilderParametersImpl.getDefinitionBuilder()
Gets theConfigurationBuilder
object for obtaining the definition configuration.ConfigurationBuilder<? extends HierarchicalConfiguration<?>>
CombinedConfigurationBuilder.getDefinitionBuilder()
Gets theConfigurationBuilder
which creates the definition configuration.protected ConfigurationBuilder<? extends HierarchicalConfiguration<?>>
CombinedConfigurationBuilder.setupDefinitionBuilder
(Map<String, Object> params) Obtains theConfigurationBuilder
object which provides access to the configuration containing the definition of the combined configuration to create.Modifier and TypeMethodDescriptionprotected void
CombinedConfigurationBuilder.configureEntityResolver
(HierarchicalConfiguration<?> config, XMLBuilderParametersImpl xmlParams) Creates and initializes a defaultEntityResolver
if the definition configuration contains a corresponding declaration.protected FileSystem
CombinedConfigurationBuilder.initFileSystem
(HierarchicalConfiguration<?> config) Creates and initializes a defaultFileSystem
if the definition configuration contains a corresponding declaration.protected void
CombinedConfigurationBuilder.initSystemProperties
(HierarchicalConfiguration<?> config, String basePath) Handles a file with system properties that may be defined in the definition configuration.protected void
CombinedConfigurationBuilder.registerConfiguredLookups
(HierarchicalConfiguration<?> defConfig, Configuration resultConfig) Processes customLookup
objects that might be declared in the definition configuration.Modifier and TypeMethodDescriptionCombinedBuilderParametersImpl.setDefinitionBuilder
(ConfigurationBuilder<? extends HierarchicalConfiguration<?>> builder) Sets theConfigurationBuilder
for the definition configuration.CombinedBuilderProperties.setDefinitionBuilder
(ConfigurationBuilder<? extends HierarchicalConfiguration<?>> builder) Sets theConfigurationBuilder
for the definition configuration.ModifierConstructorDescriptionConfigurationDeclaration
(CombinedConfigurationBuilder builder, HierarchicalConfiguration<?> config) Creates a new instance ofConfigurationDeclaration
and initializes it. -
Uses of HierarchicalConfiguration in org.apache.commons.configuration2.plist
Modifier and TypeClassDescriptionclass
NeXT / OpenStep style configuration.class
Property list file (plist) in XML FORMAT as used by macOS X (http://www.apple.com/DTDs/PropertyList-1.0.dtd).ModifierConstructorDescriptionCreates a new instance ofPropertyListConfiguration
and copies the content of the specified configuration into this object.XMLPropertyListConfiguration
(HierarchicalConfiguration<ImmutableNode> configuration) Creates a new instance ofXMLPropertyListConfiguration
and copies the content of the specified configuration into this object.