Packagecom.yworks.io.graphml.writer
Interfacepublic interface IOutputHandler
ImplementorsAbstractOutputHandler, AttributeOutputHandler, CompatResourceOutputHandler, SharedDataOutputHandler

Defines the contract for classes that generate the actual content of data tags and also generate the corresponding key tags



Public Methods
 MethodDefined by
  
Whether the data is default and thus the data element should not be written at all for the current context.
IOutputHandler
  
Write the XML attributes of a data tag
IOutputHandler
  
Write the element content of a data tag
IOutputHandler
  
Write the XML attributes of the key tag for this graphml attribute
IOutputHandler
  
Write the element content of the key tag for this graphml attribute
IOutputHandler
Method detail
isDefaultData()method
public function isDefaultData(context:GraphMLWriteContext):Boolean

Whether the data is default and thus the data element should not be written at all for the current context.

Parameters
context:GraphMLWriteContext — The write context.

Returns
Booleanfalse if the data element should be written.
printDataAttributes()method 
public function printDataAttributes(context:GraphMLWriteContext, writer:IXmlWriter):void

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

Write the element content of a data tag

Parameters
context:GraphMLWriteContext — The write context.
 
writer:IXmlWriter — the xml writer.
printKeyAttributes()method 
public function printKeyAttributes(context:GraphMLWriteContext, writer:IXmlWriter):void

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.