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

java.lang.Object
  extended bycom.yworks.yfiles.server.graphml.flexio.deserializer.FallbackDeserializer
All Implemented Interfaces:
DeserializationHandler, java.util.EventListener

public class FallbackDeserializer
extends java.lang.Object
implements DeserializationHandler

A fallback deserializer that handles all DeserializationEvents if the deserialization property FlexDeserializationProperties.IGNORE_MISSING_DESERIALIZER is set to Boolean.TRUE.

This deserialization handler is used by GraphRoundtripSupport which also sets the value of this deserialization property according to its GraphRoundtripSupportBase.isIgnoreMissingDeserializer() property.


Constructor Summary
FallbackDeserializer()
           
 
Method Summary
static FallbackDeserializer getInstance()
           
 void onHandleDeserialization(DeserializationEvent event)
          Callback method to handle the deserialization of the data contained in event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FallbackDeserializer

public FallbackDeserializer()
Method Detail

getInstance

public static FallbackDeserializer getInstance()

onHandleDeserialization

public void onHandleDeserialization(DeserializationEvent event)
                             throws GraphMLParseException
Callback method to handle the deserialization of the data contained in event.

If this callback could deserialize the data in event, it should assign the deserialization result to the event's DeserializationEvent.setResult(Object) property.

Specified by:
onHandleDeserialization in interface DeserializationHandler
Parameters:
event - Event that contains all data that is needed for deserialization.
Throws:
GraphMLParseException


Copyright © 2000-2013 yWorks GmbH. All rights reserved