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

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

public class PrimitivesSerializer
extends AbstractSerializer

Can only handle Integer, Long, Double, Float, Boolean and String.


Constructor Summary
PrimitivesSerializer()
           
 
Method Summary
 boolean canHandle(SerializationEvent e)
           
 void serializeItem(java.lang.Object item, XmlWriter writer, GraphMLWriteContext context)
           
 
Methods inherited from class y.io.graphml.output.AbstractSerializer
onHandleSerialization
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrimitivesSerializer

public PrimitivesSerializer()
Method Detail

serializeItem

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

canHandle

public boolean canHandle(SerializationEvent e)


Copyright © 2000-2013 yWorks GmbH. All rights reserved