public interface Context
Modifier and Type | Method and Description |
---|---|
void |
assign(Object o,
Value v)
Assign the object o, the value v.
|
Context |
createContext(Object o)
Creates a new context object by combining the current one and o.
|
void |
createPseudoVariables(boolean oui)
Enables/disables the creation of variables during lookup calls.
|
int |
getIsolateId()
The worker id to which this context object belongs.
|
Session |
getSession()
Returns the session associated with this context, or null.
|
Object |
lookup(Object o)
Looks for an object of the given name in this context -- for example, a member variable.
|
Object |
lookupMembers(Object o)
Looks for the members of an object.
|
Value |
toValue()
Converts the context to a Value.
|
Value |
toValue(Object o)
Converts the object to a Value.
|
Object lookup(Object o) throws NoSuchVariableException, PlayerFaultException
flash.tools.debugger.Variable
Variable
flash.tools.debugger.Value
Long
, Integer
,
Double
, Boolean
, or String
toString()
; see below o
- the object to look up; most commonly a string representing the name of
a member variable.NoSuchVariableException
PlayerFaultException
Object lookupMembers(Object o) throws NoSuchVariableException
o
- A variable whose members we want to look upNoSuchVariableException
lookup(Object)
Context createContext(Object o)
o
- any object which may have been returned by this class's lookup() functionvoid assign(Object o, Value v) throws NoSuchVariableException, PlayerFaultException
o
- a variable to assign to -- this should be some value returned
by an earlier call to lookup().v
- a value, such as a Boolean, Long, String, etc.NoSuchVariableException
PlayerFaultException
void createPseudoVariables(boolean oui)
Value toValue(Object o)
o
- Either object that was returned by an earlier call to
lookup()
, or one of the raw types that can be
returned by Value.getValueAsObject()
.null
.Value.getValueAsObject()
Value toValue()
toValue(Object o)
, except that the object being converted
is the object that was used to initialize this context.null
.Session getSession()
int getIsolateId()
Copyright © 2016 The Apache Software Foundation. All rights reserved.