| Package | com.yworks.io.graphml.realizer |
| Class | public class WriteNodeRealizerHandler |
| Inheritance | WriteNodeRealizerHandler AbstractOutputHandler |
INodeRealizerSerializer instances.
This implementation first uses the ILookup interface to look up an IRealizerSerializer instance
for each node. If no instance is found in the lookup, the RealizerSerializerManager is queried.
| Method | Defined by | ||
|---|---|---|---|
![]() |
This implementation does nothing.
| AbstractOutputHandler | |
|
isDefaultData(context:GraphMLWriteContext):Boolean
This implementation returns
false
| WriteNodeRealizerHandler | ||
![]() |
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.
| WriteNodeRealizerHandler | ||
|
This method has to be overriden by subclass implementations.
| WriteNodeRealizerHandler | ||
|
Write the element content of the
key tag for this graphml attribute
| WriteNodeRealizerHandler | ||
| Method | Defined by | ||
|---|---|---|---|
|
Get an
IRealizerSerializer instance for the given node. | WriteNodeRealizerHandler | ||
|
Serialize the given node.
| WriteNodeRealizerHandler | ||
| getRealizerSerializer | () | method |
protected function getRealizerSerializer(node:INode, context:GraphMLWriteContext):INodeRealizerSerializer
Get an IRealizerSerializer instance for the given node.
node:INode — The current node instance
|
|
context:GraphMLWriteContext — The current write context
|
INodeRealizerSerializer —
An IRealizerSerializer instance or null.
|
| isDefaultData | () | method |
public override function isDefaultData(context:GraphMLWriteContext):Boolean
This implementation returns false
context:GraphMLWriteContext |
Boolean |
| printItemDataOutput | () | method |
public override 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 override 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 override 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.
|
| writeNode | () | method |
protected function writeNode(node:INode, writer:IXmlWriter, context:GraphMLWriteContext):voidSerialize the given node.
Parametersnode:INode |
|
writer:IXmlWriter |
|
context:GraphMLWriteContext |