Packagecom.yworks.io.graphml.writer
Classpublic class MapperAttributeOutputHandler
InheritanceMapperAttributeOutputHandler Inheritance AttributeOutputHandler Inheritance Object

An AttributeOutputHandler which uses a MapperAttributeProvider for reading attribute values.



Public Properties
 PropertyDefined By
 InheritedattributeProvider : IAttributeProvider
[read-only] Returns the attribute provider that was passed to this instance.
AttributeOutputHandler
Public Methods
 MethodDefined By
  
MapperAttributeOutputHandler(mapper:IMapper, attrName:String, scopeType:String, contentType:String)
Creates a new instance which uses a new instance of MapperAttributeProvider for the given mapper, name and scope.
MapperAttributeOutputHandler
 Inherited
Whether the data is default and thus the data element should not be written at all for the current context.
AttributeOutputHandler
 Inherited
Write the XML attributes of a data tag
AttributeOutputHandler
 Inherited
Write the element content of a data tag
AttributeOutputHandler
 Inherited
Write the XML attributes of the key tag for this graphml attribute
AttributeOutputHandler
 Inherited
Write the element content of the key tag for this graphml attribute
AttributeOutputHandler
Constructor Detail
MapperAttributeOutputHandler()Constructor
public function MapperAttributeOutputHandler(mapper:IMapper, attrName:String, scopeType:String, contentType:String)

Creates a new instance which uses a new instance of MapperAttributeProvider for the given mapper, name and scope.

Parameters
mapper:IMapper — The data provider associated with this attribute.
 
attrName:String — The name of the attribute.
 
scopeType:String — The scope of the attribute.
 
contentType:String — The content type of the attribute.