|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.io.graphml.graph2d.EdgeLabelSerializer.SmartEdgeLabelModelSerializer
public static class EdgeLabelSerializer.SmartEdgeLabelModelSerializer
Handles serialization of SmartEdgeLabelModel instances and their model parameters.
![]() |
![]() |
| Constructor Summary | |
|---|---|
EdgeLabelSerializer.SmartEdgeLabelModelSerializer()
|
|
| Method Summary | |
|---|---|
void |
onHandleSerialization(SerializationEvent event)
Callback method to handle the serialization of the data contained in event. |
protected void |
serializeModel(SmartEdgeLabelModel model,
XmlWriter writer,
GraphMLWriteContext context)
Serializes SmartEdgeLabelModel instances with their fields. |
protected void |
serializeParameter(y.view.SmartEdgeLabelModel.ModelParameter parameter,
XmlWriter writer,
GraphMLWriteContext context)
Serializes the model parameter of SmartEdgeLabelModel instances with all its fields. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EdgeLabelSerializer.SmartEdgeLabelModelSerializer()
| Method Detail |
|---|
public void onHandleSerialization(SerializationEvent event)
throws GraphMLWriteException
SerializationHandlerevent.
If this callback could serialize the data in event, it should set the SerializationEvent.setHandled(boolean) property to true
to prevent further serialization code from processing this data.
onHandleSerialization in interface SerializationHandlerevent - Event that contains all data that is needed for serialization.
GraphMLWriteException
protected void serializeParameter(y.view.SmartEdgeLabelModel.ModelParameter parameter,
XmlWriter writer,
GraphMLWriteContext context)
SmartEdgeLabelModel instances with all its fields.
parameter - The model parameter of SmartEdgeLabelModel to writewriter - The writer to usecontext - The current write context
protected void serializeModel(SmartEdgeLabelModel model,
XmlWriter writer,
GraphMLWriteContext context)
SmartEdgeLabelModel instances with their fields.
model - The SmartEdgeLabelModel to writewriter - The writer to usecontext - The current write context
|
© Copyright 2000-2025, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||