com.yworks.yfiles.server.graphml.flexio.serializer
Class GenericLabelModelParameterSerializer

java.lang.Object
  extended byy.io.graphml.output.AbstractSerializer
      extended byy.io.graphml.output.TypeBasedSerializer
          extended bycom.yworks.yfiles.server.graphml.flexio.serializer.AbstractSerializer
              extended bycom.yworks.yfiles.server.graphml.flexio.serializer.GenericLabelModelParameterSerializer
All Implemented Interfaces:
java.util.EventListener, SerializationHandler

public class GenericLabelModelParameterSerializer
extends AbstractSerializer

Serializer for GenericLabelModel parameter.


Constructor Summary
GenericLabelModelParameterSerializer()
           
 
Method Summary
 java.lang.String getElementName(GraphMLWriteContext context)
          The local name of the serialized element node.
protected  java.lang.Class getSerializationType(GraphMLWriteContext context)
          Gets the type for which this instance should handle serialization.
 void serializeItem(java.lang.Object item, XmlWriter writer, GraphMLWriteContext context)
           
 
Methods inherited from class com.yworks.yfiles.server.graphml.flexio.serializer.AbstractSerializer
getNamespace, onHandleSerialization
 
Methods inherited from class y.io.graphml.output.TypeBasedSerializer
canHandle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericLabelModelParameterSerializer

public GenericLabelModelParameterSerializer()
Method Detail

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:
'GenericLabelModel'

serializeItem

public void serializeItem(java.lang.Object item,
                          XmlWriter writer,
                          GraphMLWriteContext context)
                   throws GraphMLWriteException
Throws:
GraphMLWriteException

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:
GenericLabelModel.ModelParameter.class


Copyright © 2000-2013 yWorks GmbH. All rights reserved