Package | com.yworks.io.graphml.writer |
Class | public class AbstractOutputHandler |
Inheritance | AbstractOutputHandler Object |
Implements | IOutputHandler |
Subclasses | EdgeStyleOutputHandler, LabelOutputHandler, NodeInsetsOutputHandler, NodeStyleOutputHandler, ObjectMapperAttributeOutputHandler, PortLocationModelOutputHandler, 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 overridden 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):void
This implementation does nothing.
Parameters
context:GraphMLWriteContext | |
writer:IXmlWriter |
isDefaultData | () | method |
public function isDefaultData(context:GraphMLWriteContext):Boolean
This implementation returns false
Parameters
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
Parameters
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
Parameters
context:GraphMLWriteContext — The write context.
| |
writer:IXmlWriter — the xml writer.
|
printItemDataOutput | () | method |
public function printItemDataOutput(context:GraphMLWriteContext, graph:IGraph, item:Object, writer:IXmlWriter):void
Writes 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 |
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 |
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.
|