Package | com.yworks.support |
Interface | public interface IContextLookup |
Implementors | DefaultItemLookup, DirectGraphMLWriter, GraphMLContext, GraphMLParser, LookupChain |
ILookup
capabilities
for a given object.
Method | Defined By | ||
---|---|---|---|
lookupForItem(item:Object, type:Class):Object
Tries to create or retrieve an implementation of the given type
for a given item. | IContextLookup |
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
|
Object — an implementation or null
|