|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<I18nExceptionContextProperty> de.smartics.exceptions.i18n.context.I18nExceptionContextProperty
public enum I18nExceptionContextProperty
Provides properties for the configuration of an I18N exception context.
Enum Constant Summary | |
---|---|
BUNDLE_PROVIDER_CLASS The fully qualified class name of an implementation of BundleProvider . |
|
CODE_MESSAGE_FORMATTER_CLASS Provides the instance of a formatter to format code messages. |
|
MESSAGE_COMPOSER_CLASS The fully qualified class name of an implementation of MessageComposer . |
Method Summary | |
---|---|
String |
getComponentName() |
Object |
getDefaultValue() Returns the default value to use if a given property is not specified. |
String |
getName() Returns the property name. |
Class<?> |
getType() |
de.smartics.properties.core.PropertyValueRange<?> |
getValueRange() |
boolean |
isMandatory() |
String |
toString() Returns the string representation of the object. |
static I18nExceptionContextProperty |
valueOf(String name) Returns the enum constant of this type with the specified name. |
static I18nExceptionContextProperty[] |
values() Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final I18nExceptionContextProperty BUNDLE_PROVIDER_CLASS
BundleProvider
.
The value of this constant is i18n.bundleProvider.class
.
public static final I18nExceptionContextProperty MESSAGE_COMPOSER_CLASS
MessageComposer
.
The value of this constant is i18n.messageComposer.class
.
public static final I18nExceptionContextProperty CODE_MESSAGE_FORMATTER_CLASS
Method Detail |
---|
public static I18nExceptionContextProperty[] values()
for (I18nExceptionContextProperty c : I18nExceptionContextProperty.values()) System.out.println(c);
public static I18nExceptionContextProperty valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant with the specified name
NullPointerException
- if the argument is null
public String getComponentName()
getComponentName
in interface
de.smartics.properties.core.PropertyEnumeration
public String getName()
getName
in interface
de.smartics.properties.core.PropertyEnumeration
public Class<?> getType()
getType
in interface
de.smartics.properties.core.PropertyEnumeration
public boolean isMandatory()
isMandatory
in interface
de.smartics.properties.core.PropertyEnumeration
public Object getDefaultValue()
null
if no default value is provided.
getDefaultValue
in interface
de.smartics.properties.core.PropertyEnumeration
public de.smartics.properties.core.PropertyValueRange<?> getValueRange()
getValueRange
in interface
de.smartics.properties.core.PropertyEnumeration
public String toString()
toString
in class
Enum<I18nExceptionContextProperty>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |