Packagecom.yworks.io.graphml.reader
Interfacepublic interface IInputHandlerProvider
Implementors AutoMapperInputHandlerProvider

Interface that allows to dynamically retrieve IInputHandler instances for a specific key.

This can be used to handle GraphML attributes without registering all input handlers in advance

See also

com.yworks.io.graphml.reader.IInputHandler


Public Methods
 MethodDefined By
  
getHandlersForKey(context:GraphMLParseContext, keyDefinition:XML, scope:String):Iterable
Get a list of IInputHandler instances that can process the given attribute.
IInputHandlerProvider
Method Detail
getHandlersForKey()method
public function getHandlersForKey(context:GraphMLParseContext, keyDefinition:XML, scope:String):Iterable

Get a list of IInputHandler instances that can process the given attribute.

Parameters

context:GraphMLParseContext — The current parse context
 
keyDefinition:XML — The XML element that containts the key definition
 
scope:String — The scope of the attribute. One of
  • GraphMLConstants.SCOPE_ALL
  • GraphMLConstants.SCOPE_NODE
  • GraphMLConstants.SCOPE_EDGE
  • GraphMLConstants.SCOPE_GRAPH
  • GraphMLConstants.SCOPE_PORT

Returns
Iterable — A list of IInputHandler instances that can process the given attribute.