| Package | com.yworks.io.graphml.reader |
| Class | public class MapperRegistryAttributeFactory |
| Inheritance | MapperRegistryAttributeFactory Object |
| Implements | IAttributeFactory |
IAttributeFactory implementation that stores parsed attributes in an IMapper instance.
| Property | Defined By | ||
|---|---|---|---|
| name : String [read-only]
Returns the name of the attribute this factory handles. | MapperRegistryAttributeFactory | ||
| Method | Defined By | ||
|---|---|---|---|
MapperRegistryAttributeFactory(name:String, tag:Object, scopeType:String)
Creates An instance that will store attribute values in the given mapper instance. | MapperRegistryAttributeFactory | ||
createAttribute(context:GraphMLParseContext, name:String, value:*):void
Creates a new Attribute with the given name and value and maps it to the topmost object of the context. | MapperRegistryAttributeFactory | ||
defineAttribute(name:String, scopeType:String):void
Defines this factory's attribute's name and scope. | MapperRegistryAttributeFactory | ||
| name | property |
name:String [read-only] Returns the name of the attribute this factory handles.
public function get name():String| MapperRegistryAttributeFactory | () | Constructor |
public function MapperRegistryAttributeFactory(name:String, tag:Object, scopeType:String)Creates An instance that will store attribute values in the given mapper instance.
Parametersname:String — The name of the attribute.
| |
tag:Object — The tag, the mapper is registered with
| |
scopeType:String — The scope of the attribute
|
| createAttribute | () | method |
public function createAttribute(context:GraphMLParseContext, name:String, value:*):voidCreates a new Attribute with the given name and value and maps it to the topmost object of the context.
Parameters
context:GraphMLParseContext — The parse context.
| |
name:String — The name of the attribute.
| |
value:* — The value of the attribute.
|
| defineAttribute | () | method |
public function defineAttribute(name:String, scopeType:String):voidDefines this factory's attribute's name and scope.
Parameters
name:String — The attribute's name.
| |
scopeType:String — The attribute's scope
|