|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gwt.core.ext.RebindResult
public class RebindResult
A class for returning the result of a rebind operation.
Constructor Summary | |
---|---|
RebindResult(RebindMode rebindMode,
java.lang.String resultType)
Constructs a result using the provided rebindMode and resultTypeName. |
Method Summary | |
---|---|
java.util.Map<java.lang.String,java.io.Serializable> |
getClientDataMap()
Returns a map containing all client data added to this result. |
RebindMode |
getRebindMode()
|
java.lang.String |
getResultTypeName()
|
void |
putClientData(java.lang.String key,
java.io.Serializable data)
Adds keyed, serializable data to a rebind result. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RebindResult(RebindMode rebindMode, java.lang.String resultType)
rebindMode
- resultType
- RebindMode
Method Detail |
---|
public java.util.Map<java.lang.String,java.io.Serializable> getClientDataMap()
null
if no client data has been added.public RebindMode getRebindMode()
public java.lang.String getResultTypeName()
public void putClientData(java.lang.String key, java.io.Serializable data)
CachedGeneratorResult
, to subsequent
invocations of the same generator, when called under the same conditions
(e.g. for the same rebind rule and requested type name). A generator
implementation can use this to remember information needed for subsequent
regeneration, such as for making cache reuse decisions.
key
- data
- CachedGeneratorResult
,
GeneratorContext.getCachedGeneratorResult()
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |