Package yapion.utils
Class IdentifierUtils
- java.lang.Object
- 
- yapion.utils.IdentifierUtils
 
- 
 public class IdentifierUtils extends java.lang.Object
- 
- 
Field SummaryFields Modifier and Type Field Description static java.lang.StringBIG_DECIMAL_IDENTIFIERThis variable is used in theYAPIONValue.toJSON(AbstractOutput)implementation for representation of the internal type notice into the JSON structure.static java.lang.StringBIG_INTEGER_IDENTIFIERThis variable is used in theYAPIONValue.toJSON(AbstractOutput)implementation for representation of the internal type notice into the JSON structure.static java.lang.StringBYTE_IDENTIFIERThis variable is used in theYAPIONValue.toJSON(AbstractOutput)implementation for representation of the internal type notice into the JSON structure.static java.lang.StringCHAR_IDENTIFIERThis variable is used in theYAPIONValue.toJSON(AbstractOutput)implementation for representation of the internal type notice into the JSON structure.static java.lang.StringDOUBLE_IDENTIFIERThis variable is used in theYAPIONValue.toJSON(AbstractOutput)implementation for representation of the internal type notice into the JSON structure.static java.lang.StringENUM_IDENTIFIERstatic java.lang.StringEXCEPTION_IDENTIFIERThis variable is used in theThrowableSerializer,ExceptionSerializer,RuntimeExceptionSerializerandErrorSerializerfor identifying anThrowable,Exception,RuntimeExceptionandErrorrespectively by itsClass.getTypeName().static java.lang.StringFLOAT_IDENTIFIERThis variable is used in theYAPIONValue.toJSON(AbstractOutput)implementation for representation of the internal type notice into the JSON structure.static java.lang.StringINT_IDENTIFIERThis variable is used in theYAPIONValue.toJSON(AbstractOutput)implementation for representation of the internal type notice into the JSON structure.static java.lang.StringKEY_IDENTIFIERstatic java.lang.StringLONG_IDENTIFIERThis variable is used in theYAPIONValue.toJSON(AbstractOutput)implementation for representation of the internal type notice into the JSON structure.static java.lang.StringMAP_IDENTIFIERThis variable is used in theYAPIONMap.toJSON(AbstractOutput)implementation andYAPIONMap.toJSONLossy(AbstractOutput)for representation of anYAPIONMapas a JSON object.static java.lang.StringPOINTER_IDENTIFIERThis variable is used in theYAPIONPointer.toJSON(AbstractOutput)implementation andYAPIONPointer.toJSONLossy(AbstractOutput)for representation of anYAPIONPointeras a JSON object.static java.lang.StringSHORT_IDENTIFIERThis variable is used in theYAPIONValue.toJSON(AbstractOutput)implementation for representation of the internal type notice into the JSON structure.static java.lang.StringTYPE_IDENTIFIERThis variable is used in theYAPIONSerializerandYAPIONDeserializerfor identifying anYAPIONObjecttype by itsClass.getTypeName().
 
- 
- 
- 
Field Detail- 
TYPE_IDENTIFIERpublic static final java.lang.String TYPE_IDENTIFIER This variable is used in theYAPIONSerializerandYAPIONDeserializerfor identifying anYAPIONObjecttype by itsClass.getTypeName(). In the serialization this variable is used as the key of a the so called type variable.- See Also:
- Constant Field Values
 
 - 
ENUM_IDENTIFIERpublic static final java.lang.String ENUM_IDENTIFIER This variable is used in theEnumSerializerfor identifying anEnumby itsClass.getTypeName(). In the serialization this variable is used as the key of a so called enum variable.- See Also:
- Constant Field Values
 
 - 
EXCEPTION_IDENTIFIERpublic static final java.lang.String EXCEPTION_IDENTIFIER This variable is used in theThrowableSerializer,ExceptionSerializer,RuntimeExceptionSerializerandErrorSerializerfor identifying anThrowable,Exception,RuntimeExceptionandErrorrespectively by itsClass.getTypeName(). In the serialization this variable is used as the key of a so called exception variable.- See Also:
- Constant Field Values
 
 - 
KEY_IDENTIFIERpublic static final java.lang.String KEY_IDENTIFIER - See Also:
- Constant Field Values
 
 - 
POINTER_IDENTIFIERpublic static final java.lang.String POINTER_IDENTIFIER This variable is used in theYAPIONPointer.toJSON(AbstractOutput)implementation andYAPIONPointer.toJSONLossy(AbstractOutput)for representation of anYAPIONPointeras a JSON object. TheJSONMapperuses this variable to identify aYAPIONPointerin the JSON representation.- See Also:
- Constant Field Values
 
 - 
MAP_IDENTIFIERpublic static final java.lang.String MAP_IDENTIFIER This variable is used in theYAPIONMap.toJSON(AbstractOutput)implementation andYAPIONMap.toJSONLossy(AbstractOutput)for representation of anYAPIONMapas a JSON object. TheJSONMapperuses this variable to identify aYAPIONMapin the JSON representation.- See Also:
- Constant Field Values
 
 - 
BYTE_IDENTIFIERpublic static final java.lang.String BYTE_IDENTIFIER This variable is used in theYAPIONValue.toJSON(AbstractOutput)implementation for representation of the internal type notice into the JSON structure. TheYAPIONValueis wrapped into an JSON object with one key value pair. The key to this value is this identifier and theJSONMapperwill use this variable to identify a specificYAPIONValuetype in the JSON representation.- See Also:
- Constant Field Values
 
 - 
SHORT_IDENTIFIERpublic static final java.lang.String SHORT_IDENTIFIER This variable is used in theYAPIONValue.toJSON(AbstractOutput)implementation for representation of the internal type notice into the JSON structure. TheYAPIONValueis wrapped into an JSON object with one key value pair. The key to this value is this identifier and theJSONMapperwill use this variable to identify a specificYAPIONValuetype in the JSON representation.- See Also:
- Constant Field Values
 
 - 
CHAR_IDENTIFIERpublic static final java.lang.String CHAR_IDENTIFIER This variable is used in theYAPIONValue.toJSON(AbstractOutput)implementation for representation of the internal type notice into the JSON structure. TheYAPIONValueis wrapped into an JSON object with one key value pair. The key to this value is this identifier and theJSONMapperwill use this variable to identify a specificYAPIONValuetype in the JSON representation.- See Also:
- Constant Field Values
 
 - 
INT_IDENTIFIERpublic static final java.lang.String INT_IDENTIFIER This variable is used in theYAPIONValue.toJSON(AbstractOutput)implementation for representation of the internal type notice into the JSON structure. TheYAPIONValueis wrapped into an JSON object with one key value pair. The key to this value is this identifier and theJSONMapperwill use this variable to identify a specificYAPIONValuetype in the JSON representation.- See Also:
- Constant Field Values
 
 - 
FLOAT_IDENTIFIERpublic static final java.lang.String FLOAT_IDENTIFIER This variable is used in theYAPIONValue.toJSON(AbstractOutput)implementation for representation of the internal type notice into the JSON structure. TheYAPIONValueis wrapped into an JSON object with one key value pair. The key to this value is this identifier and theJSONMapperwill use this variable to identify a specificYAPIONValuetype in the JSON representation.- See Also:
- Constant Field Values
 
 - 
LONG_IDENTIFIERpublic static final java.lang.String LONG_IDENTIFIER This variable is used in theYAPIONValue.toJSON(AbstractOutput)implementation for representation of the internal type notice into the JSON structure. TheYAPIONValueis wrapped into an JSON object with one key value pair. The key to this value is this identifier and theJSONMapperwill use this variable to identify a specificYAPIONValuetype in the JSON representation.- See Also:
- Constant Field Values
 
 - 
DOUBLE_IDENTIFIERpublic static final java.lang.String DOUBLE_IDENTIFIER This variable is used in theYAPIONValue.toJSON(AbstractOutput)implementation for representation of the internal type notice into the JSON structure. TheYAPIONValueis wrapped into an JSON object with one key value pair. The key to this value is this identifier and theJSONMapperwill use this variable to identify a specificYAPIONValuetype in the JSON representation.- See Also:
- Constant Field Values
 
 - 
BIG_INTEGER_IDENTIFIERpublic static final java.lang.String BIG_INTEGER_IDENTIFIER This variable is used in theYAPIONValue.toJSON(AbstractOutput)implementation for representation of the internal type notice into the JSON structure. TheYAPIONValueis wrapped into an JSON object with one key value pair. The key to this value is this identifier and theJSONMapperwill use this variable to identify a specificYAPIONValuetype in the JSON representation.- See Also:
- Constant Field Values
 
 - 
BIG_DECIMAL_IDENTIFIERpublic static final java.lang.String BIG_DECIMAL_IDENTIFIER This variable is used in theYAPIONValue.toJSON(AbstractOutput)implementation for representation of the internal type notice into the JSON structure. TheYAPIONValueis wrapped into an JSON object with one key value pair. The key to this value is this identifier and theJSONMapperwill use this variable to identify a specificYAPIONValuetype in the JSON representation.- See Also:
- Constant Field Values
 
 
- 
 
-