org.graphdrawing.graphml.reader
Interface GraphMLParseContext.ResourceDecoder

All Known Implementing Classes:
ImageConverter, SerializableConverter
Enclosing interface:
GraphMLParseContext

public static interface GraphMLParseContext.ResourceDecoder

Interface for classes that decode GraphML input to objects


Method Summary
 Object decode(Node node, GraphMLParseContext context)
          Read a representation of an object that is stored in node.
 

Method Detail

decode

public Object decode(Node node,
                     GraphMLParseContext context)
Read a representation of an object that is stored in node.

Parameters:
node - the DOM node that represents the object
context - the current parse context
Returns:
the deserialized object


Copyright ©2000-2009, yWorks GmbH. All rights reserved.