org.graphdrawing.graphml.writer
Interface OutputHandler

All Known Implementing Classes:
AbstractOutputHandler, AttributeOutputHandler

public interface OutputHandler

Defines the contract for classes that generate the actual content of data tags and also generate the corresponding key tags


Method Summary
 void printDataAttributes(GraphMLWriteContext context, XmlWriter writer)
          Write the XML attributes of a data tag
 void printDataOutput(GraphMLWriteContext context, XmlWriter writer)
          Write the element content of a data tag
 void printKeyAttributes(GraphMLWriteContext context, XmlWriter writer)
          Write the XML attributes of the key tag for this graphml attribute
 void printKeyOutput(GraphMLWriteContext context, XmlWriter writer)
          Write the element content of the key tag for this graphml attribute
 

Method Detail

printKeyAttributes

public void printKeyAttributes(GraphMLWriteContext context,
                               XmlWriter writer)
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 writer)
Write the element content of the key tag for this graphml attribute

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

printDataAttributes

public void printDataAttributes(GraphMLWriteContext context,
                                XmlWriter writer)
Write the XML attributes of a data tag

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

printDataOutput

public void printDataOutput(GraphMLWriteContext context,
                            XmlWriter writer)
Write the element content of a data tag

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


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