public class SelectFieldOptionDefinitionKeyGenerator extends AbstractFormKeyGenerator<SelectFieldOptionDefinition>
SelectFieldOptionDefinition
. Uses the FieldDefinitionKeyGenerator
to generate the parent path down to the options group.
Used by SwitchableFieldDefinition
and SelectFieldDefinition
, so using their common interface FieldDefinition
for retrieving the parent
I18nKeyGenerator
. Assuming there is getOptions method defined.Constructor and Description |
---|
SelectFieldOptionDefinitionKeyGenerator() |
Modifier and Type | Method and Description |
---|---|
protected void |
keysFor(List<String> keys,
SelectFieldOptionDefinition definition,
AnnotatedElement el) |
getParentId
addKey, fieldOrGetterName, getAncestorKeyGenerators, getAncestors, getIdOrNameForUnknownRoot, getKeyGenerator, getParentViaCast, getRoot, getRootKeyGenerator, keyify, keysFor, messageBundleNameFor, resolveMessageBundleNameUpwards
public SelectFieldOptionDefinitionKeyGenerator()
protected void keysFor(List<String> keys, SelectFieldOptionDefinition definition, AnnotatedElement el)
keysFor
in class info.magnolia.i18nsystem.AbstractI18nKeyGenerator<SelectFieldOptionDefinition>
Copyright © 2015 Magnolia International Ltd.. All rights reserved.