public final class BundleHeaders extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SLING_TRANSLATE_I18N_ROOT_PATH
The root repository path at which dictionaries for this bundle will be persisted.
|
static String |
SLING_TRANSLATE_LOCALE_ADAPTABLES
Bundles can use this header to notify of adapter factories capable of adapting the listed classes to instances
of java.util.
Locale. |
static String |
SLING_TRANSLATE_PACKAGES
Packages to be scanned for translation dictionaries.
|
static String |
SLING_TRANSLATE_PROCESSORS
Additional processors to be executed when generating the translation dictionary models from the annotated
classes.
|
public static final String SLING_TRANSLATE_I18N_ROOT_PATH
public static final String SLING_TRANSLATE_PACKAGES
public static final String SLING_TRANSLATE_PROCESSORS
public static final String SLING_TRANSLATE_LOCALE_ADAPTABLES
Locale. For instance, a bundle might provide an adapter capable of adapting a
Resource to a Locale (perhaps based on a project-specific content layout). The bundle could advertise
that fact by setting this header value to "org.apache.sling.api.resource.Resource", allowing resources to be
adapted directly to their custom dictionary classes.Copyright © 2017 ICF-Olson. All rights reserved.