org.graphdrawing.graphml.writer
Interface GraphMLWriteContext.ResourceEncoder

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

public static interface GraphMLWriteContext.ResourceEncoder

Interface for classes that encode object to GraphML output


Method Summary
 void encode(Object o, XmlWriter writer, GraphMLWriteContext context)
          Write a representation of the object o to the output writer.
 

Method Detail

encode

public void encode(Object o,
                   XmlWriter writer,
                   GraphMLWriteContext context)
Write a representation of the object o to the output writer.

Parameters:
o - the object which should be written
writer - the output target
context - the current write state, for further information


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