public class JsonSerializeTagEventArgs
extends java.util.EventObject
Constructor and Description |
---|
JsonSerializeTagEventArgs(java.lang.Object source,
java.lang.Object item,
java.lang.Object tag,
java.lang.String propertyName,
com.mindfusion.common.JsonObject obj,
JsonPersistContext context)
Initializes a new instance of the JsonSerializeTagArgs class.
|
Modifier and Type | Method and Description |
---|---|
JsonPersistContext |
getContext()
Gets a context object that can help you write and read various values.
|
java.lang.Object |
getObject()
Gets the object being serialized/deserialized.
|
java.lang.String |
getPropertyName()
Gets the name of the property being serialized.
|
com.mindfusion.common.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 handled)
Sets a value indicating whether the event is handled.
|
void |
setRepresentation(com.mindfusion.common.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, java.lang.String propertyName, com.mindfusion.common.JsonObject obj, JsonPersistContext context)
source
- The object on which the Event initially occurred.java.lang.IllegalArgumentException
- if source is null.public java.lang.Object getObject()
public java.lang.Object getTag()
public void setTag(java.lang.Object tag)
tag
- An object representing the tag value being serialized or deserialized.public com.mindfusion.common.JsonObject getRepresentation()
public void setRepresentation(com.mindfusion.common.JsonObject representation)
representation
- JsonObjectpublic boolean isHandled()
public void setHandled(boolean handled)
handled
- booleanpublic JsonPersistContext getContext()
public java.lang.String getPropertyName()