Packagecom.yworks.support
Interfacepublic interface IContextLookup
Implementors DefaultItemLookup, DirectGraphMLWriter, GraphMLContext, GraphMLParser, LookupChain

An interface for instances that can provide a ILookup capabilities for a given object.



Public Methods
 MethodDefined By
  
lookupForItem(item:Object, type:Class):Object
Tries to create or retrieve an implementation of the given type for a given item.
IContextLookup
Method Detail
lookupForItem()method
public function lookupForItem(item:Object, type:Class):Object

Tries to create or retrieve an implementation of the given type for a given item.

Parameters

item:Object — the item to lookup a type for
 
type:Class — the type to look up

Returns
Object — an implementation or null