public class SerializeTagEvent
extends java.util.EventObject
DiagramListener.| Constructor and Description |
|---|
SerializeTagEvent(java.lang.Object source,
java.lang.Object item,
java.lang.Object tag,
java.lang.String propertyName,
org.w3c.dom.Element tagElement,
XmlPersistContext context)
Initializes a new instance of the
ItemTagEvent class. |
| Modifier and Type | Method and Description |
|---|---|
XmlPersistContext |
getContext() |
boolean |
getHandled() |
java.lang.Object |
getItem()
Gets the object whose tag should be serialized.
|
java.lang.String |
getPropertyName()
Gets the name of the property being serialized.
|
java.lang.Object |
getTag()
Gets the tag object that should be serialized.
|
org.w3c.dom.Element |
getTagElement()
Gets XML element under which the tag data should be written or
from which the tag must be loaded.
|
void |
setHandled(boolean value) |
void |
setTag(java.lang.Object value)
Sets the tag after deserializing it.
|
public SerializeTagEvent(java.lang.Object source,
java.lang.Object item,
java.lang.Object tag,
java.lang.String propertyName,
org.w3c.dom.Element tagElement,
XmlPersistContext context)
ItemTagEvent class.source - The sender of this event.item - The object whose tag should be serialized.tag - The tag value.tagElement - The XML element where the tag should be saved or loaded.context - An XmlPersistContext object providing more information about the serialization process.public java.lang.Object getItem()
public java.lang.Object getTag()
public void setTag(java.lang.Object value)
value - The object that should be used as item's tag.public org.w3c.dom.Element getTagElement()
org.w3c.dom.Element object.public XmlPersistContext getContext()
public boolean getHandled()
public void setHandled(boolean value)
public java.lang.String getPropertyName()