com.yworks.yfiles.server.graphml.flexio.serializer
Class TemplateNodeStyleSerializer
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.AbstractTemplateStyleSerializer
com.yworks.yfiles.server.graphml.flexio.serializer.TemplateNodeStyleSerializer
- All Implemented Interfaces:
- java.util.EventListener, SerializationHandler
- public class TemplateNodeStyleSerializer
- extends AbstractTemplateStyleSerializer
A serializer which can handle TemplateNodeStyle
instances.
This serializer writes the following element:
<y:TemplateNodeStyle
templateClass=".."
(userTagProvider="..")
dataPropertyName=""
contextPropertyName=""
hideSelectionPaintable="">
(<y:TagProvider>
..
</y:TagProvider>)
<y:StyleTag>
..
</y:StyleTag>
</y:TemplateStyle>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TemplateNodeStyleSerializer
public TemplateNodeStyleSerializer()
getElementName
public java.lang.String getElementName(GraphMLWriteContext context)
- The local name of the serialized element node.
- Specified by:
getElementName
in class AbstractSerializer
- Parameters:
context
- The write context.
- Returns:
- 'TemplateNodeStyle'
getSerializationType
protected java.lang.Class getSerializationType(GraphMLWriteContext context)
- Gets the type for which this instance should handle serialization.
- Parameters:
context
- The current write context.
- Returns:
- TemplateNodeStyle.class
Copyright © 2000-2013 yWorks GmbH. All
rights reserved