| Package | com.yworks.io.graphml.writer |
| Class | public class AbstractOutputHandler |
| Implements | IOutputHandler |
| Subclasses | EdgeStyleOutputHandler, LabelOutputHandler, NodeInsetsOutputHandler, NodeStyleOutputHandler, PortStyleOutputHandler, WriteEdgeLayoutHandler, WriteEdgeRealizerHandler, WriteNodeLayoutHandler, WriteNodeRealizerHandler, WritePortLayoutHandler |
| Method | Defined by | ||
|---|---|---|---|
|
This implementation does nothing.
| AbstractOutputHandler | ||
|
isDefaultData(context:GraphMLWriteContext):Boolean
This implementation returns
false
| AbstractOutputHandler | ||
|
This implementation does nothing.
| AbstractOutputHandler | ||
|
Forwards to
printItemDataOutput, passing the current item contained in the context. | AbstractOutputHandler | ||
|
Writes the data out using the given writer.
| AbstractOutputHandler | ||
|
This method has to be overriden by subclass implementations.
| AbstractOutputHandler | ||
|
Write the element content of the
key tag for this graphml attribute
| AbstractOutputHandler | ||
| getKeyAttributes | () | method |
public function getKeyAttributes(context:GraphMLWriteContext, writer:IXmlWriter):voidThis implementation does nothing.
Parameterscontext:GraphMLWriteContext |
|
writer:IXmlWriter |
| isDefaultData | () | method |
public function isDefaultData(context:GraphMLWriteContext):Boolean
This implementation returns false
context:GraphMLWriteContext |
Boolean |
| printDataAttributes | () | method |
public function printDataAttributes(context:GraphMLWriteContext, writer:IXmlWriter):void
This implementation does nothing.
Write the XML attributes of a data tag
context:GraphMLWriteContext — The write context.
|
|
writer:IXmlWriter — the xml writer.
|
| printDataOutput | () | method |
public function printDataOutput(context:GraphMLWriteContext, writer:IXmlWriter):void
Forwards to printItemDataOutput, passing the current item contained in the context.
Write the element content of a data tag
context:GraphMLWriteContext — The write context.
|
|
writer:IXmlWriter — the xml writer.
|
| printItemDataOutput | () | method |
public function printItemDataOutput(context:GraphMLWriteContext, graph:IGraph, item:Object, writer:IXmlWriter):voidWrites the data out using the given writer. This method has to be overriden by subclass implementations.
Parameterscontext:GraphMLWriteContext — The current write context.
|
|
graph:IGraph — The current graph in the context.
|
|
item:Object — The current item (graph/node/edge) in the context.
|
|
writer:IXmlWriter — The writer to write to.
|
| printKeyAttributes | () | method |
public function printKeyAttributes(context:GraphMLWriteContext, writer:IXmlWriter):void
This method has to be overriden by subclass implementations.
Write the XML attributes of the key tag for this graphml attribute
context:GraphMLWriteContext — The write context.
|
|
writer:IXmlWriter — the xml writer.
|
| printKeyOutput | () | method |
public function printKeyOutput(context:GraphMLWriteContext, writer:IXmlWriter):void
Write the element content of the key tag for this graphml attribute
context:GraphMLWriteContext — The write context.
|
|
writer:IXmlWriter — the xml writer.
|