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.builder.combined |
A package containing the implementation of the builder for combined
configurations.
|
org.apache.commons.configuration2.convert |
This package contains interfaces and classes related to data type conversions.
|
org.apache.commons.configuration2.interpol |
A package with helper classes used for interpolation (variable substitution).
|
org.apache.commons.configuration2.resolver |
A package containing EntityResolvers.
|
Modifier and Type | Method and Description |
---|---|
ConfigurationInterpolator |
AbstractConfiguration.getInterpolator()
Returns the
ConfigurationInterpolator object that manages the
lookup objects for resolving variables. |
ConfigurationInterpolator |
Configuration.getInterpolator()
Returns the
ConfigurationInterpolator object used by this
Configuration . |
Modifier and Type | Method and Description |
---|---|
void |
AbstractConfiguration.setInterpolator(ConfigurationInterpolator ci)
Sets the
ConfigurationInterpolator object to be used by this
Configuration . |
void |
Configuration.setInterpolator(ConfigurationInterpolator ci)
Sets the
ConfigurationInterpolator object to be used by this
Configuration . |
void |
AbstractConfiguration.setParentInterpolator(ConfigurationInterpolator parent)
Sets the specified
ConfigurationInterpolator as the parent of
this configuration's ConfigurationInterpolator . |
Modifier and Type | Method and Description |
---|---|
BasicBuilderParameters |
BasicBuilderParameters.setInterpolator(ConfigurationInterpolator ci)
Sets the
ConfigurationInterpolator to be used for this
configuration. |
T |
BasicBuilderProperties.setInterpolator(ConfigurationInterpolator ci)
Sets the
ConfigurationInterpolator to be used for this
configuration. |
BasicBuilderParameters |
BasicBuilderParameters.setParentInterpolator(ConfigurationInterpolator parent)
Sets the parent
ConfigurationInterpolator for this
configuration's ConfigurationInterpolator . |
T |
BasicBuilderProperties.setParentInterpolator(ConfigurationInterpolator parent)
Sets the parent
ConfigurationInterpolator for this
configuration's ConfigurationInterpolator . |
Modifier and Type | Method and Description |
---|---|
protected ConfigurationInterpolator |
MultiFileConfigurationBuilder.createInterpolator()
Creates the
ConfigurationInterpolator to be used by this
instance. |
protected ConfigurationInterpolator |
MultiFileConfigurationBuilder.getInterpolator()
Returns the
ConfigurationInterpolator used by this instance. |
Modifier and Type | Method and Description |
---|---|
protected <T> T |
DefaultConversionHandler.convert(Object src,
Class<T> targetCls,
ConfigurationInterpolator ci)
Performs the conversion from the passed in source object to the specified
target class.
|
protected <T> T |
DefaultConversionHandler.convertValue(Object src,
Class<T> targetCls,
ConfigurationInterpolator ci)
Performs a conversion of a single value to the specified target class.
|
protected Object |
DefaultConversionHandler.extractConversionValue(Object container,
Class<?> targetCls,
ConfigurationInterpolator ci)
Extracts a single value from a complex object.
|
<T> T |
DefaultConversionHandler.to(Object src,
Class<T> targetCls,
ConfigurationInterpolator ci) |
<T> T |
ConversionHandler.to(Object src,
Class<T> targetCls,
ConfigurationInterpolator ci)
Converts a single object to the specified target type.
|
Object |
DefaultConversionHandler.toArray(Object src,
Class<?> elemClass,
ConfigurationInterpolator ci)
Converts the given object to an array of the specified element type.
|
Object |
ConversionHandler.toArray(Object src,
Class<?> elemClass,
ConfigurationInterpolator ci)
Converts the given object to an array of the specified element type.
|
<T> void |
DefaultConversionHandler.toCollection(Object src,
Class<T> elemClass,
ConfigurationInterpolator ci,
Collection<T> dest)
Converts the given object to a collection of the specified type.
|
<T> void |
ConversionHandler.toCollection(Object src,
Class<T> elemClass,
ConfigurationInterpolator ci,
Collection<T> dest)
Converts the given object to a collection of the specified type.
|
Modifier and Type | Method and Description |
---|---|
static ConfigurationInterpolator |
ConfigurationInterpolator.fromSpecification(InterpolatorSpecification spec)
Creates a new
ConfigurationInterpolator instance based on the
passed in specification object. |
ConfigurationInterpolator |
ExprLookup.getInterpolator()
Returns the
ConfigurationInterpolator used by this object. |
ConfigurationInterpolator |
InterpolatorSpecification.getInterpolator()
Returns the
ConfigurationInterpolator instance to be used
directly. |
ConfigurationInterpolator |
InterpolatorSpecification.getParentInterpolator()
Returns the parent
ConfigurationInterpolator object. |
ConfigurationInterpolator |
ConfigurationInterpolator.getParentInterpolator()
Returns the parent
ConfigurationInterpolator . |
Modifier and Type | Method and Description |
---|---|
void |
ExprLookup.setInterpolator(ConfigurationInterpolator interpolator)
Sets the
ConfigurationInterpolator to be used by this object. |
void |
ConfigurationInterpolator.setParentInterpolator(ConfigurationInterpolator parentInterpolator)
Sets the parent
ConfigurationInterpolator . |
InterpolatorSpecification.Builder |
InterpolatorSpecification.Builder.withInterpolator(ConfigurationInterpolator ci)
Sets the
ConfigurationInterpolator instance for the
InterpolatorSpecification . |
InterpolatorSpecification.Builder |
InterpolatorSpecification.Builder.withParentInterpolator(ConfigurationInterpolator parent)
Sets an optional parent
ConfigurationInterpolator . |
Modifier and Type | Method and Description |
---|---|
ConfigurationInterpolator |
CatalogResolver.CatalogManager.getInterpolator()
Gets the ConfigurationInterpolator.
|
Modifier and Type | Method and Description |
---|---|
void |
CatalogResolver.setInterpolator(ConfigurationInterpolator ci)
Sets the
ConfigurationInterpolator . |
void |
CatalogResolver.CatalogManager.setInterpolator(ConfigurationInterpolator configurationInterpolator)
Sets the ConfigurationInterpolator.
|
Copyright © 2001–2020 The Apache Software Foundation. All rights reserved.