|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ltd.getahead.dwr.OutboundContext
We need to keep track of stuff while we are converting on the way out to prevent recurrsion. This class helps track the conversion process.
Field Summary | |
static java.lang.String |
OUTBOUND_VARIABLE_PREFIX
The prefix for outbound variable names the we generate |
Constructor Summary | |
OutboundContext()
Since map needs to have referencial equality rather than object equality this constructor tries to use java.util.IdentityHashMap (>=1.4), and failing that falls back on wrapper objects in a HashMap. |
Method Summary | |
OutboundVariable |
get(java.lang.Object object)
Have we already converted an object? |
java.lang.String |
getNextVariableName()
Create a new variable name to keep everything we declare separate |
void |
put(java.lang.Object object,
OutboundVariable ss)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String OUTBOUND_VARIABLE_PREFIX
Constructor Detail |
public OutboundContext()
Method Detail |
public OutboundVariable get(java.lang.Object object)
object
- The object to check
public void put(java.lang.Object object, OutboundVariable ss)
object
- We have converted a new object, remember itss
- How the object was convertedpublic java.lang.String getNextVariableName()
|
Copyright ? 2005 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |