com.yworks.yfiles.server.graphml.flexio.deserializer
Class DummySimplePortStyleDeserializer

java.lang.Object
  extended byy.io.graphml.input.AbstractDeserializer
      extended bycom.yworks.yfiles.server.graphml.flexio.deserializer.AbstractDeserializer
          extended bycom.yworks.yfiles.server.graphml.flexio.deserializer.DummySimplePortStyleDeserializer
All Implemented Interfaces:
DeserializationHandler, java.util.EventListener

public class DummySimplePortStyleDeserializer
extends AbstractDeserializer

A dummy deserializer for serialized SimplePortStyle instances that could be contained in the GraphML data sent by a yFiles FLEX client.

Since yFiles for Java does not natively support port objects, the roundtrip of port data is currently not supported.


Constructor Summary
DummySimplePortStyleDeserializer()
           
 
Method Summary
 java.lang.Object deserializeNode(org.w3c.dom.Node xmlNode, GraphMLParseContext context)
           
 java.lang.String getElementName(GraphMLParseContext context)
          The local name that the node must satisfy if it should be deserialized.
 
Methods inherited from class com.yworks.yfiles.server.graphml.flexio.deserializer.AbstractDeserializer
canHandle, getXmlNamespaceURI, onHandleDeserialization
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummySimplePortStyleDeserializer

public DummySimplePortStyleDeserializer()
Method Detail

getElementName

public java.lang.String getElementName(GraphMLParseContext context)
Description copied from class: AbstractDeserializer
The local name that the node must satisfy if it should be deserialized. This method is called by AbstractDeserializer.canHandle(y.io.graphml.input.DeserializationEvent).

Specified by:
getElementName in class AbstractDeserializer
Parameters:
context - The parse context.
Returns:
The local name that the node must satisfy if it should be deserialized.

deserializeNode

public java.lang.Object deserializeNode(org.w3c.dom.Node xmlNode,
                                        GraphMLParseContext context)
                                 throws GraphMLParseException
Throws:
GraphMLParseException


Copyright © 2000-2013 yWorks GmbH. All rights reserved