|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.io.graphml.graph2d.EdgeLabelSerializer.PreferredPlacementDescriptorSerializer
public static class EdgeLabelSerializer.PreferredPlacementDescriptorSerializer
Handles serialization of PreferredPlacementDescriptor
instances.
Constructor Summary | |
---|---|
EdgeLabelSerializer.PreferredPlacementDescriptorSerializer()
|
Method Summary | |
---|---|
void |
onHandleSerialization(SerializationEvent event)
Callback method to handle the serialization of the data contained in event . |
protected void |
serializeContent(PreferredPlacementDescriptor descriptor,
XmlWriter writer,
GraphMLWriteContext context)
Serializes the PreferredPlacementDescriptor instance 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.PreferredPlacementDescriptorSerializer()
Method Detail |
---|
public void onHandleSerialization(SerializationEvent event) throws GraphMLWriteException
SerializationHandler
event
.
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 SerializationHandler
event
- Event that contains all data that is needed for serialization.
GraphMLWriteException
protected void serializeContent(PreferredPlacementDescriptor descriptor, XmlWriter writer, GraphMLWriteContext context)
PreferredPlacementDescriptor
instance with all its fields.
descriptor
- The PreferredPlacementDescriptor
to writewriter
- The writer to usecontext
- The current write context
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |