Package iip.serializers
Class RoutingCommandNewSerializer
java.lang.Object
iip.serializers.RoutingCommandNewSerializer
JSON transport serializer for RoutingCommand.
Generated by: EASy-Producer.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final de.iip_ecosphere.platform.support.json.Json -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone(RoutingCommandNew origin) Creates a cloned copy.from(byte[] data) Serializes an object.getType()Returns the handled type.byte[]to(RoutingCommandNew source) Serializes an object.
-
Field Details
-
MAPPER
private static final de.iip_ecosphere.platform.support.json.Json MAPPER
-
-
Constructor Details
-
RoutingCommandNewSerializer
public RoutingCommandNewSerializer()
-
-
Method Details
-
from
Serializes an object.- Parameters:
data- the source- Returns:
- the serialized data
- Throws:
IOException- if serialization fails
-
to
Serializes an object.- Parameters:
source- the source object- Returns:
- the serialized data
- Throws:
IOException- if serialization fails
-
clone
Creates a cloned copy.- Parameters:
origin- the original object- Returns:
- the copied object
- Throws:
IOException- if cloning fails
-
getType
Returns the handled type.- Returns:
- the type
-