| Package | com.yworks.support |
| Interface | public interface IContextLookup |
| Subinterfaces | IContextLookupChainLink |
| Implementors | AbstractContextLookupChainLink, 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):ObjectTries to create or retrieve an implementation of the given type for a given item.
Parametersitem:Object — the item to lookup a type for
|
|
type:Class — the type to look up
|
Object — an implementation or null
|