org.graphdrawing.graphml.writer
Interface XMLAttributesProvider

All Known Implementing Classes:
XMLAttributesProviderAdapter

public interface XMLAttributesProvider

Interface XMLAttributesProvider. This interface can be used to write XML attributes of core GraphML elements


Method Summary
 void printEdgeAttributes(GraphMLWriteContext context, XmlWriter writer)
          Write additional XML attributes for a <edge> element
 void printGraphAttributes(GraphMLWriteContext context, XmlWriter writer)
          Write additional XML attributes for a <graph> element
 void printGraphMLAttributes(GraphMLWriteContext context, XmlWriter writer)
          Write additional XML attributes for a <graphml> element
 void printHyperEdgeAttributes(GraphMLWriteContext context, XmlWriter writer)
          Write additional XML attributes for a <hyperedge> element
 void printNodeAttributes(GraphMLWriteContext context, XmlWriter writer)
          Write additional XML attributes for a <node> element
 void printPortAttributes(GraphMLWriteContext context, XmlWriter writer)
          Write additional XML attributes for a <port> element
 

Method Detail

printNodeAttributes

public void printNodeAttributes(GraphMLWriteContext context,
                                XmlWriter writer)
Write additional XML attributes for a <node> element

Parameters:
context - the current write context
writer - the writer instance that writes the output

printEdgeAttributes

public void printEdgeAttributes(GraphMLWriteContext context,
                                XmlWriter writer)
Write additional XML attributes for a <edge> element

Parameters:
context - the current write context
writer - the writer instance that writes the output

printPortAttributes

public void printPortAttributes(GraphMLWriteContext context,
                                XmlWriter writer)
Write additional XML attributes for a <port> element

Parameters:
context - the current write context
writer - the writer instance that writes the output

printHyperEdgeAttributes

public void printHyperEdgeAttributes(GraphMLWriteContext context,
                                     XmlWriter writer)
Write additional XML attributes for a <hyperedge> element

Parameters:
context - the current write context
writer - the writer instance that writes the output

printGraphAttributes

public void printGraphAttributes(GraphMLWriteContext context,
                                 XmlWriter writer)
Write additional XML attributes for a <graph> element

Parameters:
context - the current write context
writer - the writer instance that writes the output

printGraphMLAttributes

public void printGraphMLAttributes(GraphMLWriteContext context,
                                   XmlWriter writer)
Write additional XML attributes for a <graphml> element

Parameters:
context - the current write context
writer - the writer instance that writes the output


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