Public Instance Methods : IdSstImportSet
import: handle as: object
"ACTION
Make the external @object internally known as @handle.
Overwrite any existing mapping for @handle.
PARAMETERS
handle : <IuSstImportKey>
object : <Object>
CALLBACKS (if configured)
SstImportCallback : Fired after import with @handle and nil
as the callData."
import: handle as: object for: importer
"ACTION
Make the external @object internally known as @handle.
Overwrite any existing mapping for @handle. @importer is
the object which caused the import to happen (e.g., a
marshaler).
PARAMETERS
handle : <SstImportKey>
object : <Object>
importer : <Object>
CALLBACKS (if configured)
SstImportCallback : Fired after import with @handle and
@importer's root object as the callData."
objectImportedAs: key
"ACTION
Return the object which has been imported using @key in
the receiver. If @key is not found, return nil.
PARAMETERS
key : <IuSstImportKey>
RETURN VALUE
<Object> | nil"
objectImportedAs: key ifAbsent: absentHandler
"ACTION
Return the object which has been imported using @key in
the receiver. If @key is not found, return the result of
evaluating @absentHandler.
PARAMETERS
key : <IuSstImportKey>
absentHandler : <Block>
RETURN VALUE
<Object>"
resolve: key ifAbsent: absentHandler
"ACTION
Return the object imported by the receiver using @key. If @key
is not found, return the result of evaluating @absentHandler.
PARAMETERS
key : <IuSstImportKey>
absentHandler : <Block>
RETURN VALUE
<Object>"
unimportHandle: key
"ACTION
Remove any import mapping with @key as the key.
Return the object imported as @key or nil if none exists.
PARAMETERS
key : <IuSstImportKey>
RETURN VALUE
<Object> | nil
CALLBACKS (if configured)
SstUnimportCallback : Fired after unimport with @key and
the discovered object as the callData."
unimportObject: object
"ACTION
Remove any import mapping with @object as the value.
Return @object or nil if it cannot be found in the receiver.
PARAMETERS
object : <Object>
RETURN VALUE
<Object> | nil
CALLBACKS (if configured)
SstUnimportCallback : Fired after unimport with the key
associated with @object and @object as the callData."
[FIRST] [PREV] [NEXT] [LAST]