com.yworks.yfiles.server.graphml.flexio
Class StyleDeserializer

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

public class StyleDeserializer
extends AbstractDeserializer

A deserializer for styles that tries to delegates parsing of style elements to registered SerializationHandler. If no SerializationHandler can be found for a style this deserializes does handle it itself by returning a DocumentFragment.

See Also:
DocumentFragment

Constructor Summary
StyleDeserializer()
           
 
Method Summary
 boolean canHandle(DeserializationEvent e)
           
 java.lang.Object deserializeNode(org.w3c.dom.Node xmlNode, GraphMLParseContext context)
           
 
Methods inherited from class y.io.graphml.input.AbstractDeserializer
onHandleDeserialization
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StyleDeserializer

public StyleDeserializer()
Method Detail

canHandle

public boolean canHandle(DeserializationEvent e)

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