Package | Description |
---|---|
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.builder.fluent |
This package defines a fluent API for setting up fully configured configuration
builders.
|
Modifier and Type | Class and Description |
---|---|
class |
CopyObjectDefaultHandler
A specialized implementation of
DefaultParametersHandler that copies
the properties of a BuilderParameters object (passed at construction
time) onto the object to be initialized. |
Modifier and Type | Method and Description |
---|---|
<T> void |
DefaultParametersManager.registerDefaultsHandler(Class<T> paramsClass,
DefaultParametersHandler<? super T> handler)
Registers the specified
DefaultParametersHandler object for the
given parameters class. |
<T> void |
DefaultParametersManager.registerDefaultsHandler(Class<T> paramsClass,
DefaultParametersHandler<? super T> handler,
Class<?> startClass)
Registers the specified
DefaultParametersHandler object for the
given parameters class and start class in the inheritance hierarchy. |
void |
DefaultParametersManager.unregisterDefaultsHandler(DefaultParametersHandler<?> handler)
Removes the specified
DefaultParametersHandler from this
instance. |
void |
DefaultParametersManager.unregisterDefaultsHandler(DefaultParametersHandler<?> handler,
Class<?> startClass)
Removes the specified
DefaultParametersHandler from this instance
if it is in combination with the given start class. |
Modifier and Type | Method and Description |
---|---|
<D> CombinedBuilderParametersImpl |
CombinedBuilderParametersImpl.registerChildDefaultsHandler(Class<D> paramClass,
DefaultParametersHandler<? super D> handler)
Registers a
DefaultParametersHandler for child configuration sources. |
<D> T |
CombinedBuilderProperties.registerChildDefaultsHandler(Class<D> paramClass,
DefaultParametersHandler<? super D> handler)
Registers a
DefaultParametersHandler for child configuration sources. |
<D> CombinedBuilderParametersImpl |
CombinedBuilderParametersImpl.registerChildDefaultsHandler(Class<D> paramClass,
DefaultParametersHandler<? super D> handler,
Class<?> startClass)
Registers a
DefaultParametersHandler for child configuration sources
derived from the given start class. |
<D> T |
CombinedBuilderProperties.registerChildDefaultsHandler(Class<D> paramClass,
DefaultParametersHandler<? super D> handler,
Class<?> startClass)
Registers a
DefaultParametersHandler for child configuration sources
derived from the given start class. |
Modifier and Type | Method and Description |
---|---|
<T> void |
Parameters.registerDefaultsHandler(Class<T> paramsClass,
DefaultParametersHandler<? super T> handler)
Registers the specified
DefaultParametersHandler object for the
given parameters class. |
<T> void |
Parameters.registerDefaultsHandler(Class<T> paramsClass,
DefaultParametersHandler<? super T> handler,
Class<?> startClass)
Registers the specified
DefaultParametersHandler object for the
given parameters class and start class in the inheritance hierarchy. |
Copyright © 2001–2020 The Apache Software Foundation. All rights reserved.