- 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.
- validate(Object, Class<ModelType>, boolean) - Method in interface org.apache.sling.models.spi.ModelValidation
-
Triggers validation for the given model on the given adaptable
- 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.
- 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() - 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 - 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.