|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject com.mindfusion.diagramming.SerializeTagEvent
public class SerializeTagEvent
Contains information passed to the tag serialization related events in
DiagramListener
.
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
SerializeTagEvent(java.lang.Object source,
java.lang.Object item,
java.lang.Object tag,
org.w3c.dom.Element tagElement,
XmlPersistContext context)
Initializes a new instance of the ItemTagEvent class. |
Method Summary | |
---|---|
XmlPersistContext |
getContext()
|
boolean |
getHandled()
|
java.lang.Object |
getItem()
Gets the object whose tag should be 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. |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SerializeTagEvent(java.lang.Object source, java.lang.Object item, java.lang.Object tag, 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.Method Detail |
---|
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)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |