Package | com.yworks.io.graphml.reader |
Class | public class MapperRegistryAttributeInputHandler |
Inheritance | MapperRegistryAttributeInputHandler AttributeInputHandler Object |
MapperRegistryAttributeFactory
for storing attribute values.
Method | Defined 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 | ||
acceptKey(keyElement:XML, scopeType:String):Boolean
Whether this data handler can parse a data section with the given key and scope type. | AttributeInputHandler | ||
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 | ||
parseData(context:GraphMLParseContext, defaultValue:Boolean, dataElement:XML):void
This method is invoked each time a data element with matching key
is processed. | AttributeInputHandler | ||
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 |
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.
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
|