@Target(value={METHOD,FIELD,PARAMETER})
@Retention(value=RUNTIME)
@InjectAnnotation
public @interface StyleOrValueMapValue
Style or ValueMap.
Per default, if the value is present in the style and the value map, the value form current value map will be injected
See preferStyleValues() to change this behaviour.| Modifier and Type | Optional Element and Description |
|---|---|
InjectionStrategy |
injectionStrategy
|
java.lang.String |
name
Specifies the name of the value from the current style or value map to take.
|
boolean |
preferStyleValues
If set to {true} the value from the current style will be injected in favor of the value from the current value map.
|
public abstract java.lang.String name
String name of the injectorpublic abstract InjectionStrategy injectionStrategy
Optional, Required) are used.
If even those are not available the default injection strategy defined on the Model applies.
Default value = DEFAULT.InjectionStrategy injection strategyCopyright © 2010 - 2023 Adobe. All Rights Reserved