public class JsonSerializeTagEventArgs
extends java.util.EventObject
| Constructor and Description |
|---|
JsonSerializeTagEventArgs(java.lang.Object source,
java.lang.Object item,
java.lang.Object tag,
JsonObject obj,
JsonSerializationContext context)
Initializes a new instance of the
JsonSerializeTagEventArgs class. |
| Modifier and Type | Method and Description |
|---|---|
JsonSerializationContext |
getContext() |
java.lang.Object |
getObject()
|
JsonObject |
getRepresentation()
Gets the JsonObject, representing the tag object
|
java.lang.Object |
getTag()
Gets the tag object being serialized/deserialized.
|
boolean |
isHandled()
Gets a value indicating whether the event is handled.
|
void |
setHandled(boolean value)
Sets a value indicating whether the event is handled.
|
void |
setRepresentation(JsonObject representation)
Sets the JsonObject, representing the tag object
|
void |
setTag(java.lang.Object tag)
Sets the tag object being serialized/deserialized.
|
public JsonSerializeTagEventArgs(java.lang.Object source,
java.lang.Object item,
java.lang.Object tag,
JsonObject obj,
JsonSerializationContext context)
JsonSerializeTagEventArgs class.source - The Schedule that raises this event.item - Item or Resource whose tag is being serialized/deserialized.tag - The tag object being serialized/deserialized.obj - A JsonObject instance representing the tag data.context - A helper object providing serialization methods for various data types.public void setTag(java.lang.Object tag)
tag - An object representing the tag value being serialized or deserialized.public java.lang.Object getTag()
public void setRepresentation(JsonObject representation)
representation - JsonObjectpublic JsonObject getRepresentation()
public void setHandled(boolean value)
value - booleanpublic boolean isHandled()
public JsonSerializationContext getContext()