| Package | com.yworks.io.graphml.writer |
| Class | public class WritePortLayoutHandler |
| Inheritance | WritePortLayoutHandler AbstractOutputHandler |
A shared instance can be retrieved using instance.
| Property | Defined by | ||
|---|---|---|---|
| instance : WritePortLayoutHandler
[static][read-only]
The shared instance of this output handler.
| WritePortLayoutHandler | ||
| Method | Defined by | ||
|---|---|---|---|
![]() |
This implementation does nothing.
| AbstractOutputHandler | |
|
isDefaultData(context:GraphMLWriteContext):Boolean
| WritePortLayoutHandler | ||
![]() |
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.
| WritePortLayoutHandler | ||
|
This method has to be overriden by subclass implementations.
| WritePortLayoutHandler | ||
|
Write the element content of the
key tag for this graphml attribute
| WritePortLayoutHandler | ||
| instance | property |
instance:WritePortLayoutHandler [read-only]The shared instance of this output handler.
Implementation public static function get instance():WritePortLayoutHandler
| isDefaultData | () | method |
public override function isDefaultData(context:GraphMLWriteContext):BooleanParameters
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.
Parameterscontext:GraphMLWriteContext — The current write context.
|
|
graph:IGraph — The current graph in the context.
|
|
item:Object — The current port 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.
|