yext.graphml.compat
Class WriteEdgeLayoutHandler

java.lang.Object
  extended byyext.graphml.writer.AbstractOutputHandler
      extended byyext.graphml.compat.WriteEdgeLayoutHandler
All Implemented Interfaces:
OutputHandler

public class WriteEdgeLayoutHandler
extends AbstractOutputHandler

Writes the geometry data for edges in .NET graphml format


Constructor Summary
WriteEdgeLayoutHandler()
           
 
Method Summary
 void printDataOutput(GraphMLWriteContext context, Graph graph, Object edge, XmlWriter writer)
          Writes the data out.
 void printKeyAttributes(GraphMLWriteContext context, XmlWriter writer)
          Write the XML attributes of the key tag for this graphml attribute
 void printKeyOutput(GraphMLWriteContext context, XmlWriter ips)
          Write the element content of the key tag for this graphml attribute
 
Methods inherited from class yext.graphml.writer.AbstractOutputHandler
getKeyAttributes, printDataAttributes, printDataOutput
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WriteEdgeLayoutHandler

public WriteEdgeLayoutHandler()
Method Detail

printKeyAttributes

public void printKeyAttributes(GraphMLWriteContext context,
                               XmlWriter writer)
Description copied from interface: OutputHandler
Write the XML attributes of the key tag for this graphml attribute

Parameters:
context - the current write context
writer - XMLWriter instance that writes the result

printKeyOutput

public void printKeyOutput(GraphMLWriteContext context,
                           XmlWriter ips)
Description copied from interface: OutputHandler
Write the element content of the key tag for this graphml attribute

Parameters:
context - the current write context
ips - XMLWriter instance that writes the result

printDataOutput

public void printDataOutput(GraphMLWriteContext context,
                            Graph graph,
                            Object edge,
                            XmlWriter writer)
Description copied from class: AbstractOutputHandler
Writes the data out.

Specified by:
printDataOutput in class AbstractOutputHandler
Parameters:
context - the current writeContext.
graph - the current graph in the context.
edge - the current node/edge in the context.
writer - the output-stream.


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