Package | Description |
---|---|
org.apache.sling.api.resource | |
org.apache.sling.api.wrappers | |
org.apache.sling.caconfig |
API for accessing context-aware configuration.
|
org.apache.sling.caconfig.management |
Management API of the Context-Aware configuration implementation.
|
org.apache.sling.spi.resource.provider | |
org.apache.sling.validation | |
org.apache.sling.validation.model | |
org.apache.sling.validation.spi |
Modifier and Type | Interface and Description |
---|---|
interface |
ModifiableValueMap
The
ModifiableValueMap is an extension
of the ValueMap which allows to modify and
persist properties. |
interface |
PersistableValueMap
Deprecated.
Use the
ModifiableValueMap instead. |
Modifier and Type | Field and Description |
---|---|
static ValueMap |
ValueMap.EMPTY
Empty immutable value map.
|
Modifier and Type | Method and Description |
---|---|
ValueMap |
ResourceWrapper.getValueMap() |
ValueMap |
AbstractResource.getValueMap()
This method calls
Adaptable.adaptTo(Class)
with the ValueMap class as an argument. |
@NotNull ValueMap |
Resource.getValueMap()
Returns a value map for this resource.
|
static @NotNull ValueMap |
ResourceUtil.getValueMap(Resource res)
Returns an
ValueMap object for the given
Resource . |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<ValueMap> |
QueriableResourceProvider.queryResources(ResourceResolver resolver,
java.lang.String query,
java.lang.String language)
Deprecated.
Queries the storage using the given query formulated in the given
language.
|
Modifier and Type | Class and Description |
---|---|
class |
CompositeValueMap
|
class |
DeepReadModifiableValueMapDecorator
A value map wrapper which implements deep reading of properties
based on the resource tree and also supports
ModifiableValueMap . |
class |
DeepReadValueMapDecorator
A value map wrapper which implements deep reading of properties
based on the resource tree.
|
class |
ModifiableValueMapDecorator
ModifiableValueMapDecorator decorates another Map
to provide a basic implementation for the additional methods
of a ModifiableValueMap . |
class |
ValueMapDecorator
ValueMapDecorator decorates another Map
to provide a basic implementation for the additional methods
of a ValueMap . |
Constructor and Description |
---|
CompositeValueMap(ValueMap properties,
ValueMap defaults)
Constructor
|
CompositeValueMap(ValueMap properties,
ValueMap defaults,
boolean merge)
Constructor
|
DeepReadModifiableValueMapDecorator(Resource resource,
ValueMap base) |
DeepReadValueMapDecorator(Resource resource,
ValueMap base) |
Modifier and Type | Method and Description |
---|---|
@NotNull ValueMap |
ConfigurationBuilder.asValueMap()
Get configuration as singleton resource and return its properties as value map.
|
Modifier and Type | Method and Description |
---|---|
@NotNull ValueMap |
ConfigurationData.getEffectiveValues()
Configuration values stored for the given context path merged with inherited values and default values.
|
@NotNull ValueMap |
ConfigurationData.getValues()
Configuration values stored for the given context path.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<ValueMap> |
QueryLanguageProvider.queryResources(@NotNull ResolveContext<T> ctx,
java.lang.String query,
java.lang.String language)
Queries the storage using the given query formulated in the given
language.
|
Modifier and Type | Method and Description |
---|---|
ValidationResult |
ValidationService.validate(ValueMap valueMap,
ValidationModel model)
|
Modifier and Type | Method and Description |
---|---|
ValueMap |
ValidatorInvocation.getParameters() |
Modifier and Type | Method and Description |
---|---|
ValueMap |
ValidatorContext.getValueMap() |
Modifier and Type | Method and Description |
---|---|
ValidationResult |
Validator.validate(T data,
ValidatorContext context,
ValueMap arguments)
Validates the
data and/or the valueMap according to the internal constraints of this validator. |
Copyright © 2018 The Apache Software Foundation. All rights reserved.