com.yworks.yfiles.server.graphml.flexio.serializer
Class AbstractEdgeStyleSerializer
java.lang.Object
y.io.graphml.output.AbstractSerializer
y.io.graphml.output.TypeBasedSerializer
com.yworks.yfiles.server.graphml.flexio.serializer.AbstractSerializer
com.yworks.yfiles.server.graphml.flexio.serializer.AbstractEdgeStyleSerializer
- All Implemented Interfaces:
- java.util.EventListener, SerializationHandler
- Direct Known Subclasses:
- PolylineEdgeStyleSerializer
- public abstract class AbstractEdgeStyleSerializer
- extends AbstractSerializer
Abstract serialized for IEdgeStyle
that writes elements for
the source and target arrow of the edge and delegates the serialization of the edge style to
writeStyle(y.io.graphml.output.GraphMLWriteContext, com.yworks.yfiles.server.graphml.flexio.data.IEdgeStyle,
y.io.graphml.output.XmlWriter)
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractEdgeStyleSerializer
public AbstractEdgeStyleSerializer()
serializeItem
public void serializeItem(java.lang.Object item,
XmlWriter writer,
GraphMLWriteContext context)
throws GraphMLWriteException
- Throws:
GraphMLWriteException
writeStyle
protected abstract void writeStyle(GraphMLWriteContext context,
IEdgeStyle style,
XmlWriter writer)
- Writes the passed edge style.
- Parameters:
context
- The write context.style
- The edge style to serialize.writer
- The writer to use for the serialization.
Copyright © 2000-2013 yWorks GmbH. All
rights reserved