yext.graphml.processor
Class PostprocessorOutputHandler
java.lang.Object
yext.graphml.writer.AbstractOutputHandler
yext.graphml.processor.PostprocessorOutputHandler
- All Implemented Interfaces:
- OutputHandler
- public class PostprocessorOutputHandler
- extends AbstractOutputHandler
This output handler writes out a list of YModules and adds postprocessor
instructions for them.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROCESSORS_DPKEY
public static final Object PROCESSORS_DPKEY
PostprocessorOutputHandler
public PostprocessorOutputHandler()
printKeyAttributes
public void printKeyAttributes(GraphMLWriteContext context,
XmlWriter writer)
- Returns yfiles.type="postprocessors".
- Parameters:
context - the current write contextwriter - XMLWriter instance that writes the result
printDataOutput
public void printDataOutput(GraphMLWriteContext context,
Graph graph,
Object nodeedge,
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.nodeedge - the current node/edge in the context.writer - the output-stream.
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 contextips - XMLWriter instance that writes the result
Copyright ©2000-2008, yWorks GmbH. All rights reserved.