| Package | com.yworks.io.graphml.realizer |
| Class | public class WriteEdgeRealizerHandler |
| Inheritance | WriteEdgeRealizerHandler AbstractOutputHandler Object |
IEdgeRealizerSerializer instances.
This implementation first uses the ILookup interface to look up an IRealizerSerializer instance
for each edge. If no instance is found in the lookup, the RealizerSerializerManager is queried.
| Method | Defined By | ||
|---|---|---|---|
![]() |
This implementation does nothing. | AbstractOutputHandler | |
isDefaultData(context:GraphMLWriteContext):Boolean [override]
This implementation returns false
| WriteEdgeRealizerHandler | ||
![]() |
This implementation does nothing. | AbstractOutputHandler | |
![]() |
Forwards to printItemDataOutput, passing the current item contained in the context. | AbstractOutputHandler | |
[override]
Writes the data out using the given writer. | WriteEdgeRealizerHandler | ||
[override]
This method has to be overridden by subclass implementations. | WriteEdgeRealizerHandler | ||
[override]
Write the element content of the key tag for this graphml attribute
| WriteEdgeRealizerHandler | ||
| Method | Defined By | ||
|---|---|---|---|
Serialize the given edge. | WriteEdgeRealizerHandler | ||
| isDefaultData | () | method |
override public function isDefaultData(context:GraphMLWriteContext):Boolean
This implementation returns false
Parameters
context:GraphMLWriteContext |
Boolean |
| printItemDataOutput | () | method |
override public function printItemDataOutput(context:GraphMLWriteContext, graph:IGraph, item:Object, writer:IXmlWriter):voidWrites the data out using the given writer. This method has to be overridden by subclass implementations.
Parameters
context: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 |
override public function printKeyAttributes(context:GraphMLWriteContext, writer:IXmlWriter):void
This method has to be overridden by subclass implementations.
Write the XML attributes of the key tag for this graphml attribute
Parameters
context:GraphMLWriteContext — The write context.
| |
writer:IXmlWriter — the xml writer.
|
| printKeyOutput | () | method |
override public function printKeyOutput(context:GraphMLWriteContext, writer:IXmlWriter):void
Write the element content of the key tag for this graphml attribute
Parameters
context:GraphMLWriteContext — The write context.
| |
writer:IXmlWriter — the xml writer.
|
| writeEdge | () | method |
protected function writeEdge(edge:IEdge, writer:IXmlWriter, context:GraphMLWriteContext):voidSerialize the given edge.
Parameters
edge:IEdge — The edge to serialize
| |
writer:IXmlWriter — the xml writer
| |
context:GraphMLWriteContext — the write context
|