yext.graphml.writer
Class AbstractOutputHandler
java.lang.Object
yext.graphml.writer.AbstractOutputHandler
- All Implemented Interfaces:
- OutputHandler
- Direct Known Subclasses:
- PortConstraintOutputHandler, PostprocessorOutputHandler, WriteEdgeLayoutHandler, WriteEdgeRealizerHandler, WriteNodeLayoutHandler, WriteNodeRealizerHandler, WritePortLayoutHandler
- public abstract class AbstractOutputHandler
- extends Object
- implements OutputHandler
Abstract implementation of the OutputHandler interface,
which does basic convertion for yFiles.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractOutputHandler
public AbstractOutputHandler()
getKeyAttributes
public void getKeyAttributes(GraphMLWriteContext context,
XmlWriter ips)
printDataAttributes
public void printDataAttributes(GraphMLWriteContext context,
XmlWriter ips)
- Description copied from interface:
OutputHandler
- Write the XML attributes of a
data tag
- Specified by:
printDataAttributes in interface OutputHandler
- Parameters:
context - the current write contextips - XMLWriter instance that writes the result
printDataOutput
public void printDataOutput(GraphMLWriteContext context,
XmlWriter ips)
- Implementation of the method defined in the
OutputHandler
interface which forwards the call to
printDataOutput(org.graphdrawing.graphml.writer.GraphMLWriteContext,y.base.Graph,java.lang.Object,org.graphdrawing.graphml.writer.XmlWriter).
- Specified by:
printDataOutput in interface OutputHandler
- Parameters:
context - the current writeContext.ips - the output-stream.
printDataOutput
public abstract void printDataOutput(GraphMLWriteContext context,
Graph graph,
Object nodeedge,
XmlWriter ips)
- Writes the data out.
- Parameters:
context - the current writeContext.graph - the current graph in the context.nodeedge - the current node/edge in the context.ips - the output-stream.
Copyright ©2000-2009, yWorks GmbH. All rights reserved.