Package org.ghotibeaun.json.factory
Enum Setting
- All Implemented Interfaces:
Serializable,Comparable<Setting>,java.lang.constant.Constable
public enum Setting extends Enum<Setting>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants Enum Constant Description CLASS_CONVERTER_CLASSCONVERTER_IGNORE_KEYSCONVERTER_JSON_KEY_CASECONVERTER_VALIDATIONDATE_FORMATEVENT_PARSER_CLASSSpecifies the property for theEventParserimplementation classEVENT_PROCESSOR_CLASSEVENT_PROVIDER_CLASSFACTORY_CLASSSpecifies the property for theJSONFactoryimplementation classINPUTSTREAM_CHARSETJSON_CONVERTER_CLASSJSONPATH_IMPL_CLASSJSONPATH_MAPPING_PROVIDER_CLASSJSONPATH_PROVIDER_CLASSMERGE_APPEND_KEYPARSER_CLASSSpecifies the property for theJSONParserimplementation classSERIALIZER_CLASSXML_SERIALIZER_CLASS -
Method Summary
Modifier and Type Method Description static SettingfromPropertyName(String propertyName)StringgetPropertyName()booleanisClassValue()static SettingvalueOf(String name)Returns the enum constant of this type with the specified name.static Setting[]values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
FACTORY_CLASS
Specifies the property for theJSONFactoryimplementation class -
PARSER_CLASS
Specifies the property for theJSONParserimplementation class -
EVENT_PARSER_CLASS
Specifies the property for theEventParserimplementation class -
EVENT_PROCESSOR_CLASS
-
EVENT_PROVIDER_CLASS
-
JSON_CONVERTER_CLASS
-
CLASS_CONVERTER_CLASS
-
SERIALIZER_CLASS
-
INPUTSTREAM_CHARSET
-
DATE_FORMAT
-
JSONPATH_IMPL_CLASS
-
JSONPATH_PROVIDER_CLASS
-
JSONPATH_MAPPING_PROVIDER_CLASS
-
XML_SERIALIZER_CLASS
-
MERGE_APPEND_KEY
-
CONVERTER_JSON_KEY_CASE
-
CONVERTER_IGNORE_KEYS
-
CONVERTER_VALIDATION
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getPropertyName
-
isClassValue
public boolean isClassValue() -
fromPropertyName
-