com.yworks.yfiles.server.graphml.flexio
Interface IDeserializer

All Known Implementing Classes:
AbstractDeserializer, DocumentFragmentDeserializer

public interface IDeserializer

Interface for classes that provide deserialization of xml content in GraphML.


Method Summary
 boolean canHandle(GraphMLParseContext context, Node xmlNode)
          Return whether this deserializer can handle the given xml node
 Object deserialize(GraphMLParseContext context, Node xmlNode)
          Parse the provided xml node
 

Method Detail

deserialize

public Object deserialize(GraphMLParseContext context,
                          Node xmlNode)
Parse the provided xml node

Parameters:
context - The current parse context
xmlNode - The current xml node
Returns:
A new instance that represents the deserialized xml data

canHandle

public boolean canHandle(GraphMLParseContext context,
                         Node xmlNode)
Return whether this deserializer can handle the given xml node

Parameters:
context - The current parse context
xmlNode - The xml node to be parsed
Returns:
true if this deserializer can handle the given xml node.


Copyright © 2000-2007 yWorks GmbH. All rights reserved