org.graphdrawing.graphml.writer
Interface ResourceEncoderProvider

All Known Implementing Classes:
DefaultConverterProvider

public interface ResourceEncoderProvider

Interface that allows to dynamically retrieve specific encoders depending on the requested type of object.


Method Summary
 GraphMLWriteContext.ResourceEncoder getEncoder(Class requestedType, GraphMLWriteContext context)
          Get a GraphMLWriteContext.ResourceEncoder for the requested object type.
 

Method Detail

getEncoder

public GraphMLWriteContext.ResourceEncoder getEncoder(Class requestedType,
                                                      GraphMLWriteContext context)
Get a GraphMLWriteContext.ResourceEncoder for the requested object type.

Parameters:
requestedType -
context -
Returns:
a GraphMLWriteContext.ResourceEncoder instance for the requested object type.


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