com.yworks.yfiles.server.graphml.flexio.deserializer
Class PolylineEdgeStyleDeserializer
java.lang.Object
y.io.graphml.input.AbstractDeserializer
com.yworks.yfiles.server.graphml.flexio.deserializer.AbstractDeserializer
com.yworks.yfiles.server.graphml.flexio.deserializer.AbstractEdgeStyleDeserializer
com.yworks.yfiles.server.graphml.flexio.deserializer.PolylineEdgeStyleDeserializer
- All Implemented Interfaces:
- DeserializationHandler, java.util.EventListener
- public class PolylineEdgeStyleDeserializer
- extends AbstractEdgeStyleDeserializer
Deserializer for PolylineEdgeStyle
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PolylineEdgeStyleDeserializer
public PolylineEdgeStyleDeserializer()
getElementName
public java.lang.String getElementName(GraphMLParseContext context)
- Returns 'IPolylineEdgeStyle'.
- Specified by:
getElementName
in class AbstractDeserializer
- Parameters:
context
- The parse context.
- Returns:
- 'IPolylineEdgeStyle'
setArrow
protected void setArrow(IEdgeStyle style,
IArrow arrow,
boolean atSource)
- Sets the arrows using the corresponding properties of the passed
PolylineEdgeStyle
.
- Specified by:
setArrow
in class AbstractEdgeStyleDeserializer
- Parameters:
style
- The PolylineEdgeStyle
to set the arrow.arrow
- The arrow to set.atSource
- true
if the source arrow shall be set, false
to set the target arrow.
deserializeStyle
protected IEdgeStyle deserializeStyle(GraphMLParseContext context,
org.w3c.dom.Node xmlNode)
- Description copied from class:
AbstractEdgeStyleDeserializer
- Deserializes the inner edge style node not containing the arrows.
- Specified by:
deserializeStyle
in class AbstractEdgeStyleDeserializer
- Parameters:
context
- The parse context.xmlNode
- The XML node to deserialize.
- Returns:
- The deserialized edge style.
Copyright © 2000-2013 yWorks GmbH. All
rights reserved