Class DefaultJsonFormatterFacility
- java.lang.Object
-
- pl.edu.icm.unity.engine.api.utils.json.DefaultJsonFormatterFacility
-
- All Implemented Interfaces:
TokenContentsJsonSerializer
,pl.edu.icm.unity.types.DescribedObject
,pl.edu.icm.unity.types.NamedObject
@Component public class DefaultJsonFormatterFacility extends java.lang.Object implements TokenContentsJsonSerializer
Default formatter.- Author:
- P.Piernik
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
NAME
-
Constructor Summary
Constructors Constructor Description DefaultJsonFormatterFacility()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
java.lang.String
getName()
com.fasterxml.jackson.databind.JsonNode
toJson(byte[] rawValue)
-
-
-
Field Detail
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interfacepl.edu.icm.unity.types.DescribedObject
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfacepl.edu.icm.unity.types.NamedObject
-
toJson
public com.fasterxml.jackson.databind.JsonNode toJson(byte[] rawValue) throws pl.edu.icm.unity.exceptions.EngineException
- Specified by:
toJson
in interfaceTokenContentsJsonSerializer
- Throws:
pl.edu.icm.unity.exceptions.EngineException
-
-