public interface IMessageKeyVerifier
See also MessageKeyVerifier
for a concrete implementation.
Modifier and Type | Method and Description |
---|---|
String |
getBaseName()
Get the base name for the resource bundle family as specified in the enumType (via
annotations)
|
Class<? extends Enum<?>> |
getEnumType()
Get the of enum type that this verifier is related to to.
|
String |
getEnumTypeAsStr()
Get the name of enum type to this verifier is related to to.
|
String[] |
getLocaleNames()
Get the locales specified in the enumType (via annotations)
|
List<String> |
typeIsolatedVerify(Locale locale)
Same as
verify(Locale) except that the return type is
List |
List<Cal10nError> |
verify(Locale locale)
Verify that the keys defined in the enumClass match those found in the
resource bundle corresponding to a certain locale
|
List<Cal10nError> |
verifyAllLocales()
Verify that the keys defined in the enumClass match those found in the
corresponding resource bundle for all locales declared in the enum type
via the @
LocaleData annotation. |
Class<? extends Enum<?>> getEnumType()
String getEnumTypeAsStr()
List<Cal10nError> verify(Locale locale)
locale
- List<Cal10nError> verifyAllLocales()
LocaleData
annotation.locale
- List<String> typeIsolatedVerify(Locale locale)
verify(Locale)
except that the return type is
Listlocale
- String[] getLocaleNames()
String getBaseName()
Copyright © 2009-2016 QOS.ch. All Rights Reserved.