Packagecom.yworks.io.graphml.reader
Classpublic class MapperRegistryAttributeInputHandler
InheritanceMapperRegistryAttributeInputHandler Inheritance AttributeInputHandler Inheritance Object

An AttributeInputHandler which uses a MapperRegistryAttributeFactory for storing attribute values.



Public Properties
 PropertyDefined By
 InheritedattributeName : String
[read-only] The attribute name
AttributeInputHandler
 InheritedcontentType : String
[read-only] The content type of the attribute.
AttributeInputHandler
Protected Properties
 PropertyDefined By
 Inherited_attributeFactory : IAttributeFactory
The IAttributeFactory to store parsed values in.
AttributeInputHandler
 Inherited_attributeName : String
The attribute name
AttributeInputHandler
 Inherited_contentType : String
AttributeInputHandler
Public Methods
 MethodDefined By
  
MapperRegistryAttributeInputHandler(tag:Object, name:String, scopeType:String, contentType:String)
Creates a new instance, using a new MapperRegistryAttributeFactory with the given tag, name and scope.
MapperRegistryAttributeInputHandler
 Inherited
acceptKey(keyElement:XML, scopeType:String):Boolean
Whether this data handler can parse a data section with the given key and scope type.
AttributeInputHandler
 Inherited
applyDefault(context:GraphMLParseContext, defaultElement:XML, value:Object):void
This method is invoked when no data tag is defined, and the default value should be applied.
AttributeInputHandler
 Inherited
parseData(context:GraphMLParseContext, defaultValue:Boolean, dataElement:XML):void
This method is invoked each time a data element with matching key is processed.
AttributeInputHandler
 Inherited
parseDefaultData(context:GraphMLParseContext, keyElement:XML):Object
This method is invoked when the default value of the key element for a data tag is parsed.
AttributeInputHandler
Constructor Detail
MapperRegistryAttributeInputHandler()Constructor
public function MapperRegistryAttributeInputHandler(tag:Object, name:String, scopeType:String, contentType:String)

Creates a new instance, using a new MapperRegistryAttributeFactory with the given tag, name and scope.

Parameters
tag:Object — The tag the MapperRegistryAttributeFactory's mapper is registered with.
 
name:String — The name of the attribute this input handler handles.
 
scopeType:String — The scope of the attribute
 
contentType:String (default = NaN) — The type of the attribute