A B C D E F G H I L M N O P R S T V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractInjectAnnotationProcessor - Class in org.apache.sling.models.spi.injectorspecific
-
Deprecated.Use
AbstractInjectAnnotationProcessor2
instead - AbstractInjectAnnotationProcessor() - Constructor for class org.apache.sling.models.spi.injectorspecific.AbstractInjectAnnotationProcessor
-
Deprecated.
- AbstractInjectAnnotationProcessor2 - Class in org.apache.sling.models.spi.injectorspecific
-
Default implementation of
InjectAnnotationProcessor2
. - AbstractInjectAnnotationProcessor2() - Constructor for class org.apache.sling.models.spi.injectorspecific.AbstractInjectAnnotationProcessor2
- AcceptsNullName - Interface in org.apache.sling.models.spi
-
Marker interface for an injector to declare that it ignores the name parameter.
- adaptables() - Method in annotation type org.apache.sling.models.annotations.Model
- adapters() - Method in annotation type org.apache.sling.models.annotations.Model
- addDisposalCallback(DisposalCallback) - Method in interface org.apache.sling.models.spi.DisposalCallbackRegistry
-
Register a callback.
- addMissingElementExceptions(MissingElementException) - Method in exception org.apache.sling.models.factory.MissingElementsException
B
- BeanProperty - Class in org.apache.sling.models.annotations.via
-
Marker class for using the JavaBean @Via provider.
- BeanProperty() - Constructor for class org.apache.sling.models.annotations.via.BeanProperty
- booleanValues() - Method in annotation type org.apache.sling.models.annotations.Default
C
- cache() - Method in annotation type org.apache.sling.models.annotations.Model
- canCreateFromAdaptable(Object, Class<?>) - Method in interface org.apache.sling.models.factory.ModelFactory
- ChildResource - Class in org.apache.sling.models.annotations.via
-
Marker class for using the ChildResource @Via provider.
- ChildResource - Annotation Type in org.apache.sling.models.annotations.injectorspecific
-
Annotation to be used on either methods, fields or constructor parameters to let Sling Models inject a child resource
- ChildResource() - Constructor for class org.apache.sling.models.annotations.via.ChildResource
- condition() - Method in annotation type org.apache.sling.models.annotations.Model
- createAnnotationProcessor(Object, AnnotatedElement) - Method in interface org.apache.sling.models.spi.injectorspecific.InjectAnnotationProcessorFactory
-
Deprecated.
- createAnnotationProcessor(Object, AnnotatedElement) - Method in interface org.apache.sling.models.spi.injectorspecific.InjectAnnotationProcessorFactory2
- createAnnotationProcessor(AnnotatedElement) - Method in interface org.apache.sling.models.spi.injectorspecific.StaticInjectAnnotationProcessorFactory
- createModel(Object, Class<ModelType>) - Method in interface org.apache.sling.models.factory.ModelFactory
-
Instantiates the given Sling Model class from the given adaptable.
- createModelFromWrappedRequest(SlingHttpServletRequest, Resource, Class<T>) - Method in interface org.apache.sling.models.factory.ModelFactory
-
Create a wrapped request object with the specified resource and instantiates the given Sling Model class from that wrapped request.
D
- Default - Annotation Type in org.apache.sling.models.annotations
-
Default value for an injection.
- DEFAULT - org.apache.sling.models.annotations.injectorspecific.InjectionStrategy
- defaultInjectionStrategy() - Method in annotation type org.apache.sling.models.annotations.Model
- DefaultInjectionStrategy - Enum in org.apache.sling.models.annotations
- DISABLED - org.apache.sling.models.annotations.ValidationStrategy
- DisposalCallback - Interface in org.apache.sling.models.spi
-
Callback interface which can be implemented by Injectors to perform some action when a created object is destroyed.
- DisposalCallbackRegistry - Interface in org.apache.sling.models.spi
-
Interface which allows for the registration of DisposalCallback listeners.
- doubleValues() - Method in annotation type org.apache.sling.models.annotations.Default
E
- export(Object, Class<T>, Map<String, String>) - Method in interface org.apache.sling.models.export.spi.ModelExporter
-
Export the provided model to the defined class using the options.
- Exporter - Annotation Type in org.apache.sling.models.annotations
-
Annotation to declare an model exporter servlet mapping.
- ExporterOption - Annotation Type in org.apache.sling.models.annotations
-
Annotation to specify options on an model's export operation.
- Exporters - Annotation Type in org.apache.sling.models.annotations
-
Annotation to declare multiple exporter servlets for a model.
- ExportException - Exception in org.apache.sling.models.factory
- ExportException(String) - Constructor for exception org.apache.sling.models.factory.ExportException
- ExportException(Throwable) - Constructor for exception org.apache.sling.models.factory.ExportException
- exportModel(Object, String, Class<T>, Map<String, String>) - Method in interface org.apache.sling.models.factory.ModelFactory
-
Export the model object using the defined target class using the named exporter.
- exportModelForRequest(SlingHttpServletRequest, String, Class<T>, Map<String, String>) - Method in interface org.apache.sling.models.factory.ModelFactory
-
Export the model object registered to the request's resource's type using the defined target class using the named exporter.
- exportModelForResource(Resource, String, Class<T>, Map<String, String>) - Method in interface org.apache.sling.models.factory.ModelFactory
-
Export the model object registered to the resource's type using the defined target class using the named exporter.
- extensions() - Method in annotation type org.apache.sling.models.annotations.Exporter
-
Extensions under which the exporter servlet will be registered.
F
- filter() - Method in annotation type org.apache.sling.models.annotations.injectorspecific.OSGiService
-
Specifies the RFC 1960-based filter string, which is evaluated when retrieving the service.
- Filter - Annotation Type in org.apache.sling.models.annotations
-
Provide a filter on an @Inject.
- floatValues() - Method in annotation type org.apache.sling.models.annotations.Default
- ForcedResourceType - Class in org.apache.sling.models.annotations.via
-
Marker class for using the ForcedResourceType @Via provider.
- ForcedResourceType() - Constructor for class org.apache.sling.models.annotations.via.ForcedResourceType
G
- getAdaptable(Object, String) - Method in interface org.apache.sling.models.spi.ViaProvider
-
Get an adaptable using the value of the @Via annotation.
- getDefault() - Method in class org.apache.sling.models.spi.injectorspecific.AbstractInjectAnnotationProcessor
-
Deprecated.
- getDefault() - Method in interface org.apache.sling.models.spi.injectorspecific.InjectAnnotationProcessor
-
Deprecated.Tries to get the default value from the annotation.
- getDefault() - Method in interface org.apache.sling.models.spi.injectorspecific.InjectAnnotationProcessor2
-
Tries to get the default value from the annotation.
- getElement() - Method in exception org.apache.sling.models.factory.MissingElementException
- getInjectionStrategy() - Method in class org.apache.sling.models.spi.injectorspecific.AbstractInjectAnnotationProcessor2
- getInjectionStrategy() - Method in interface org.apache.sling.models.spi.injectorspecific.InjectAnnotationProcessor2
-
Tries to get the information whether the injection is optional.
- getMissingElements() - Method in exception org.apache.sling.models.factory.MissingElementsException
- getModelFromRequest(SlingHttpServletRequest) - Method in interface org.apache.sling.models.factory.ModelFactory
-
Obtain an adapted model class based on the resource type of the request's resource.
- getModelFromResource(Resource) - Method in interface org.apache.sling.models.factory.ModelFactory
-
Obtain an adapted model class based on the resource type of the provided resource.
- getModelFromWrappedRequest(SlingHttpServletRequest, Resource, Class<T>) - Method in interface org.apache.sling.models.factory.ModelFactory
-
Create a wrapped request object with the specified resource and (try to) adapt the request object into the specified class.
- getName() - Method in interface org.apache.sling.models.export.spi.ModelExporter
-
The name of the exporter.
- getName() - Method in interface org.apache.sling.models.spi.Injector
-
Return a logical name for the injector.
- getName() - Method in class org.apache.sling.models.spi.injectorspecific.AbstractInjectAnnotationProcessor
-
Deprecated.
- getName() - Method in interface org.apache.sling.models.spi.injectorspecific.InjectAnnotationProcessor
-
Deprecated.Tries to get the name value from the annotation.
- getName() - Method in interface org.apache.sling.models.spi.injectorspecific.InjectAnnotationProcessor2
-
Tries to get the name value from the annotation.
- getType() - Method in interface org.apache.sling.models.spi.ViaProvider
-
Return the marker class for use in the @Via annotation
- getValue(Object, String, Type, AnnotatedElement, DisposalCallbackRegistry) - Method in interface org.apache.sling.models.spi.Injector
-
Produce a value for an injection point.
- getVia() - Method in class org.apache.sling.models.spi.injectorspecific.AbstractInjectAnnotationProcessor
-
Deprecated.
- getVia() - Method in interface org.apache.sling.models.spi.injectorspecific.InjectAnnotationProcessor
-
Deprecated.Tries to get the via value from the annotation.
- getVia() - Method in interface org.apache.sling.models.spi.injectorspecific.InjectAnnotationProcessor2
-
Tries to get the via value from the annotation.
H
- hasDefault() - Method in class org.apache.sling.models.spi.injectorspecific.AbstractInjectAnnotationProcessor
-
Deprecated.
- hasDefault() - Method in interface org.apache.sling.models.spi.injectorspecific.InjectAnnotationProcessor
-
Deprecated.
- hasDefault() - Method in interface org.apache.sling.models.spi.injectorspecific.InjectAnnotationProcessor2
I
- ImplementationPicker - Interface in org.apache.sling.models.spi
-
Defines a strategy to choose an implementation for a model if multiple are registered for the same interface or super class.
- InjectAnnotation - Annotation Type in org.apache.sling.models.spi.injectorspecific
-
Declares an annotation as a custom inject annotation.
- InjectAnnotationProcessor - Interface in org.apache.sling.models.spi.injectorspecific
-
Deprecated.Use
InjectAnnotationProcessor2
instead - InjectAnnotationProcessor2 - Interface in org.apache.sling.models.spi.injectorspecific
-
Processor for injector-specific annotations.
- InjectAnnotationProcessorFactory - Interface in org.apache.sling.models.spi.injectorspecific
-
Deprecated.Use
StaticInjectAnnotationProcessorFactory
preferably or in case of a dependency to the adaptableInjectAnnotationProcessorFactory2
- InjectAnnotationProcessorFactory2 - Interface in org.apache.sling.models.spi.injectorspecific
-
Factory for
InjectAnnotationProcessor2
that is evaluated at runtime for each sling model adaption and may depend on the adaptable. - injectionStrategy() - Method in annotation type org.apache.sling.models.annotations.injectorspecific.ChildResource
-
Specifies the injection strategy applied to an annotated element: If set to
InjectionStrategy.REQUIRED
, injection is mandatory. If set toInjectionStrategy.OPTIONAL
, injection is optional. If set toInjectionStrategy.DEFAULT
(default), the default injection strategy defined on theModel
applies. WARNING: Injection strategy is ignored if eitherOptional
orRequired
is applied on the same element. - injectionStrategy() - Method in annotation type org.apache.sling.models.annotations.injectorspecific.OSGiService
-
Specifies the injection strategy applied to an annotated element: If set to
InjectionStrategy.REQUIRED
, injection is mandatory. If set toInjectionStrategy.OPTIONAL
, injection is optional. If set toInjectionStrategy.DEFAULT
(default), the default injection strategy defined on theModel
applies. WARNING: Injection strategy is ignored if eitherOptional
orRequired
is applied on the same element. - injectionStrategy() - Method in annotation type org.apache.sling.models.annotations.injectorspecific.RequestAttribute
-
Specifies the injection strategy applied to an annotated element: If set to
InjectionStrategy.REQUIRED
, injection is mandatory. If set toInjectionStrategy.OPTIONAL
, injection is optional. If set toInjectionStrategy.DEFAULT
(default), the default injection strategy defined on theModel
applies. WARNING: Injection strategy is ignored if eitherOptional
orRequired
is applied on the same element. - injectionStrategy() - Method in annotation type org.apache.sling.models.annotations.injectorspecific.ResourcePath
-
Specifies the injection strategy applied to an annotated element: If set to
InjectionStrategy.REQUIRED
, injection is mandatory. If set toInjectionStrategy.OPTIONAL
, injection is optional. If set toInjectionStrategy.DEFAULT
(default), the default injection strategy defined on theModel
applies. WARNING: Injection strategy is ignored if eitherOptional
orRequired
is applied on the same element. - injectionStrategy() - Method in annotation type org.apache.sling.models.annotations.injectorspecific.ScriptVariable
-
Specifies the injection strategy applied to an annotated element: If set to
InjectionStrategy.REQUIRED
, injection is mandatory. If set toInjectionStrategy.OPTIONAL
, injection is optional. If set toInjectionStrategy.DEFAULT
(default), the default injection strategy defined on theModel
applies. WARNING: Injection strategy is ignored if eitherOptional
orRequired
is applied on the same element. - injectionStrategy() - Method in annotation type org.apache.sling.models.annotations.injectorspecific.Self
-
Specifies the injection strategy applied to an annotated element: If set to
InjectionStrategy.REQUIRED
, injection is mandatory. If set toInjectionStrategy.OPTIONAL
, injection is optional. If set toInjectionStrategy.DEFAULT
(default), the default injection strategy defined on theModel
applies. WARNING: Injection strategy is ignored if eitherOptional
orRequired
is applied on the same element. - injectionStrategy() - Method in annotation type org.apache.sling.models.annotations.injectorspecific.SlingObject
-
Specifies the injection strategy applied to an annotated element: If set to
InjectionStrategy.REQUIRED
, injection is mandatory. If set toInjectionStrategy.OPTIONAL
, injection is optional. If set toInjectionStrategy.DEFAULT
(default), the default injection strategy defined on theModel
applies. WARNING: Injection strategy is ignored if eitherOptional
orRequired
is applied on the same element. - injectionStrategy() - Method in annotation type org.apache.sling.models.annotations.injectorspecific.ValueMapValue
-
Specifies the injection strategy applied to an annotated element: If set to
InjectionStrategy.REQUIRED
, injection is mandatory. If set toInjectionStrategy.OPTIONAL
, injection is optional. If set toInjectionStrategy.DEFAULT
(default), the default injection strategy defined on theModel
applies. WARNING: Injection strategy is ignored if eitherOptional
orRequired
is applied on the same element. - InjectionStrategy - Enum in org.apache.sling.models.annotations.injectorspecific
- Injector - Interface in org.apache.sling.models.spi
-
Service interface for pluggable value injectors.
- intValues() - Method in annotation type org.apache.sling.models.annotations.Default
- InvalidAdaptableException - Exception in org.apache.sling.models.factory
-
Exception which is triggered whenever a Sling Model could not be instantiated because it could not be adapted from the given adaptable.
- InvalidAdaptableException(String) - Constructor for exception org.apache.sling.models.factory.InvalidAdaptableException
- InvalidModelException - Exception in org.apache.sling.models.factory
-
Thrown in case the given model type could not be validated through the model validation.
- InvalidModelException(String) - Constructor for exception org.apache.sling.models.factory.InvalidModelException
- isEmpty() - Method in exception org.apache.sling.models.factory.MissingElementsException
- isModelAvailableForRequest(SlingHttpServletRequest) - Method in interface org.apache.sling.models.factory.ModelFactory
-
Determine is a model class is available for the request's resource's resource type.
- isModelAvailableForResource(Resource) - Method in interface org.apache.sling.models.factory.ModelFactory
-
Determine is a model class is available for the resource's resource type.
- isModelClass(Class<?>) - Method in interface org.apache.sling.models.factory.ModelFactory
-
Checks if a given type can be instantiated though Sling Models.
- isModelClass(Object, Class<?>) - Method in interface org.apache.sling.models.factory.ModelFactory
-
Deprecated.Use
ModelFactory.isModelClass(Class)
instead! - isOptional() - Method in class org.apache.sling.models.spi.injectorspecific.AbstractInjectAnnotationProcessor
-
Deprecated.
- isOptional() - Method in interface org.apache.sling.models.spi.injectorspecific.InjectAnnotationProcessor
-
Deprecated.
- isSupported(Class<?>) - Method in interface org.apache.sling.models.export.spi.ModelExporter
-
Check if the result class is supported by this exporter.
L
- longValues() - Method in annotation type org.apache.sling.models.annotations.Default
M
- MissingElementException - Exception in org.apache.sling.models.factory
-
Exception which is used whenever one element (field, method or constructor) could not be set.
- MissingElementException(AnnotatedElement, Throwable) - Constructor for exception org.apache.sling.models.factory.MissingElementException
- MissingElementsException - Exception in org.apache.sling.models.factory
-
Exception which is triggered whenever a Sling Model cannot be instantiated due to some missing elements (i.e. required fields/methods/constructor parameters could not be injected).
- MissingElementsException(String) - Constructor for exception org.apache.sling.models.factory.MissingElementsException
- MissingExporterException - Exception in org.apache.sling.models.factory
- MissingExporterException(String, Class<?>) - Constructor for exception org.apache.sling.models.factory.MissingExporterException
- Model - Annotation Type in org.apache.sling.models.annotations
-
Mark a class as adaptable via Sling Models.
- ModelClassException - Exception in org.apache.sling.models.factory
-
Exception which is triggered when the Model class could not be instantiated due to not having a model annotation, some reflection error, invalid constructors or because some exception within the post construct method was triggered.
- ModelClassException(String) - Constructor for exception org.apache.sling.models.factory.ModelClassException
- ModelClassException(String, Throwable) - Constructor for exception org.apache.sling.models.factory.ModelClassException
- ModelExporter - Interface in org.apache.sling.models.export.spi
-
SPI interface for model exporters.
- ModelFactory - Interface in org.apache.sling.models.factory
-
The ModelFactory instantiates Sling Model classes similar to #adaptTo but will throw an exception in case instantiation fails for some reason.
- ModelValidation - Interface in org.apache.sling.models.spi
N
- name() - Method in annotation type org.apache.sling.models.annotations.Exporter
-
Exporter name.
- name() - Method in annotation type org.apache.sling.models.annotations.ExporterOption
-
Name of the exporter option.
- name() - Method in annotation type org.apache.sling.models.annotations.injectorspecific.ChildResource
-
Specifies the name of the child resource.
- name() - Method in annotation type org.apache.sling.models.annotations.injectorspecific.RequestAttribute
-
Specifies the name of the request attribute.
- name() - Method in annotation type org.apache.sling.models.annotations.injectorspecific.ResourcePath
-
Specifies the name of the property containing the resource path.
- name() - Method in annotation type org.apache.sling.models.annotations.injectorspecific.ScriptVariable
-
Specifies the name of the script variable.
- name() - Method in annotation type org.apache.sling.models.annotations.injectorspecific.ValueMapValue
-
Specifies the name of the value from the value map to take.
O
- onDisposed() - Method in interface org.apache.sling.models.spi.DisposalCallback
-
Callback method for when an object is destroyed.
- optional() - Method in annotation type org.apache.sling.models.annotations.injectorspecific.ChildResource
-
Deprecated.Use
ChildResource.injectionStrategy()
instead. - optional() - Method in annotation type org.apache.sling.models.annotations.injectorspecific.OSGiService
-
Deprecated.Use
OSGiService.injectionStrategy()
instead. - optional() - Method in annotation type org.apache.sling.models.annotations.injectorspecific.RequestAttribute
-
Deprecated.Use
RequestAttribute.injectionStrategy()
instead. - optional() - Method in annotation type org.apache.sling.models.annotations.injectorspecific.ResourcePath
-
Deprecated.Use
ResourcePath.injectionStrategy()
instead. - optional() - Method in annotation type org.apache.sling.models.annotations.injectorspecific.ScriptVariable
-
Deprecated.Use
ScriptVariable.injectionStrategy()
instead. - optional() - Method in annotation type org.apache.sling.models.annotations.injectorspecific.Self
-
Deprecated.Use
Self.injectionStrategy()
instead - optional() - Method in annotation type org.apache.sling.models.annotations.injectorspecific.SlingObject
-
Deprecated.Use
SlingObject.injectionStrategy()
instead - optional() - Method in annotation type org.apache.sling.models.annotations.injectorspecific.ValueMapValue
-
Deprecated.Use
ValueMapValue.injectionStrategy()
instead - Optional - Annotation Type in org.apache.sling.models.annotations
-
Marker annotation for optional injections.
- OPTIONAL - org.apache.sling.models.annotations.DefaultInjectionStrategy
- OPTIONAL - org.apache.sling.models.annotations.injectorspecific.InjectionStrategy
- OPTIONAL - org.apache.sling.models.annotations.ValidationStrategy
- options() - Method in annotation type org.apache.sling.models.annotations.Exporter
-
Optional list of exporter options.
- org.apache.sling.models.annotations - package org.apache.sling.models.annotations
- org.apache.sling.models.annotations.apt - package org.apache.sling.models.annotations.apt
- org.apache.sling.models.annotations.injectorspecific - package org.apache.sling.models.annotations.injectorspecific
- org.apache.sling.models.annotations.via - package org.apache.sling.models.annotations.via
- org.apache.sling.models.export.spi - package org.apache.sling.models.export.spi
- org.apache.sling.models.factory - package org.apache.sling.models.factory
- org.apache.sling.models.spi - package org.apache.sling.models.spi
- org.apache.sling.models.spi.injectorspecific - package org.apache.sling.models.spi.injectorspecific
- ORIGINAL - Static variable in interface org.apache.sling.models.spi.ViaProvider
-
Marker object indicating that the original object should be used.
- OriginalResourceType - Class in org.apache.sling.models.annotations.via
-
Marker class for using the OriginalResourceType @Via provider.
- OriginalResourceType() - Constructor for class org.apache.sling.models.annotations.via.OriginalResourceType
- OSGiService - Annotation Type in org.apache.sling.models.annotations.injectorspecific
-
Annotation to be used on either methods, fields or constructor parameters to let Sling Models inject an OSGi service
P
- path() - Method in annotation type org.apache.sling.models.annotations.injectorspecific.ResourcePath
-
Specifies the path of the resource.
- Path - Annotation Type in org.apache.sling.models.annotations
-
Provide path(s) on an @Inject.
- paths() - Method in annotation type org.apache.sling.models.annotations.injectorspecific.ResourcePath
-
Specifies more than one path for the resource.
- paths() - Method in annotation type org.apache.sling.models.annotations.Path
- pick(Class<?>, Class<?>[], Object) - Method in interface org.apache.sling.models.spi.ImplementationPicker
-
Select an implementation for the adapter class to which the adaptable should be adapted to.
- PostConstructException - Exception in org.apache.sling.models.factory
-
Exception which is triggered, whenever the post-construct method has thrown an exception.
- PostConstructException(String, Throwable) - Constructor for exception org.apache.sling.models.factory.PostConstructException
- prepareValue(Object) - Method in interface org.apache.sling.models.spi.ValuePreparer
-
Prepare a value from the adaptable.
- process(Set<? extends TypeElement>, RoundEnvironment) - Method in class org.apache.sling.models.annotations.apt.ValidatingAnnotationProcessor
R
- RequestAttribute - Annotation Type in org.apache.sling.models.annotations.injectorspecific
-
Annotation to be used on either methods, fields or constructor parameters to let Sling Models inject a request attribute.
- Required - Annotation Type in org.apache.sling.models.annotations
-
Marker annotation for required injections.
- REQUIRED - org.apache.sling.models.annotations.DefaultInjectionStrategy
- REQUIRED - org.apache.sling.models.annotations.injectorspecific.InjectionStrategy
- REQUIRED - org.apache.sling.models.annotations.ValidationStrategy
- ResourcePath - Annotation Type in org.apache.sling.models.annotations.injectorspecific
-
Annotation to be used on either methods, fields or constructor parameters to let Sling Models inject a resource by path(s).
- ResourceSuperType - Class in org.apache.sling.models.annotations.via
-
Marker class for using the ResourceSuperType @Via provider.
- ResourceSuperType() - Constructor for class org.apache.sling.models.annotations.via.ResourceSuperType
- resourceType() - Method in annotation type org.apache.sling.models.annotations.Model
S
- ScriptVariable - Annotation Type in org.apache.sling.models.annotations.injectorspecific
-
Annotation to be used on either methods, fields or constructor parameters to let Sling Models inject a script variable (from the org.apache.sling.api.scripting.SlingBindings)
- selector() - Method in annotation type org.apache.sling.models.annotations.Exporter
-
The selector name under which the exporter servlet will be registered.
- Self - Annotation Type in org.apache.sling.models.annotations.injectorspecific
-
Annotation to be used on either methods, fields or constructor parameters to let Sling Models inject the adaptable itself, or an object that can be adapted from it.
- shortValues() - Method in annotation type org.apache.sling.models.annotations.Default
- SlingObject - Annotation Type in org.apache.sling.models.annotations.injectorspecific
-
Injects common Sling objects that can be derived from either a SlingHttpServletRequest, a ResourceResolver or a Resource.
- Source - Annotation Type in org.apache.sling.models.annotations
-
Annotation which indicates the specific injector which will populate this injection.
- StaticInjectAnnotationProcessorFactory - Interface in org.apache.sling.models.spi.injectorspecific
-
Factory for
InjectAnnotationProcessor
that is evaluated once a sling model implementation class is registered.
T
- type() - Method in annotation type org.apache.sling.models.annotations.Via
-
The specific ViaProvider which will handle retrieval of the adaptable.
V
- validate(Object, Class<ModelType>, boolean) - Method in interface org.apache.sling.models.spi.ModelValidation
-
Triggers validation for the given model on the given adaptable
- ValidatingAnnotationProcessor - Class in org.apache.sling.models.annotations.apt
-
Annotation processor that implements compile-time validation for Sling Models
- ValidatingAnnotationProcessor() - Constructor for class org.apache.sling.models.annotations.apt.ValidatingAnnotationProcessor
- validation() - Method in annotation type org.apache.sling.models.annotations.Model
- ValidationException - Exception in org.apache.sling.models.factory
-
Thrown in case an validation could not be performed for the given model.
- ValidationException(String) - Constructor for exception org.apache.sling.models.factory.ValidationException
- ValidationException(Throwable) - Constructor for exception org.apache.sling.models.factory.ValidationException
- ValidationStrategy - Enum in org.apache.sling.models.annotations
-
Used by the
Model
annotation. - value() - Method in annotation type org.apache.sling.models.annotations.ExporterOption
-
Value of the exporter option.
- value() - Method in annotation type org.apache.sling.models.annotations.Exporters
-
List of exporters.
- value() - Method in annotation type org.apache.sling.models.annotations.Filter
- value() - Method in annotation type org.apache.sling.models.annotations.Path
- value() - Method in annotation type org.apache.sling.models.annotations.Source
- value() - Method in annotation type org.apache.sling.models.annotations.Via
-
A string value which the via provider uses to determine the correct adaptable.
- ValueMapValue - Annotation Type in org.apache.sling.models.annotations.injectorspecific
-
Annotation to be used on either methods, fields or constructor parameter to let Sling Models inject a value from the ValueMap of the current resource.
- valueOf(String) - Static method in enum org.apache.sling.models.annotations.DefaultInjectionStrategy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.sling.models.annotations.injectorspecific.InjectionStrategy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.sling.models.annotations.ValidationStrategy
-
Returns the enum constant of this type with the specified name.
- ValuePreparer - Interface in org.apache.sling.models.spi
-
Optimization interface for Injectors which wish to avoid repeated accessing of some object based on the adaptable.
- values() - Method in annotation type org.apache.sling.models.annotations.Default
- values() - Static method in enum org.apache.sling.models.annotations.DefaultInjectionStrategy
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.sling.models.annotations.injectorspecific.InjectionStrategy
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.sling.models.annotations.ValidationStrategy
-
Returns an array containing the constants of this enum type, in the order they are declared.
- via() - Method in annotation type org.apache.sling.models.annotations.injectorspecific.ChildResource
-
If set, then the child resource can be obtained via a projection of the given property of the adaptable.
- via() - Method in annotation type org.apache.sling.models.annotations.injectorspecific.ValueMapValue
-
If set, then the child resource can be obtained via a projection of the given property of the adaptable.
- Via - Annotation Type in org.apache.sling.models.annotations
-
Indicate that this injection point should be handled using some value derived from the adaptable.
- ViaProvider - Interface in org.apache.sling.models.spi
-
SPI interface for providers of the @Via annotation.
- ViaProviderType - Interface in org.apache.sling.models.annotations
-
Marker interface for eligible @Via provider identifiers.
All Classes All Packages