|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.directwebremoting.extend.OutboundContext
public final class OutboundContext
We need to keep track of stuff while we are converting on the way out to prevent recursion. This class helps track the conversion process.
| Constructor Summary | |
|---|---|
OutboundContext(boolean jsonMode)
Contexts need to know if they are producing JSON output |
|
| 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 |
boolean |
isJsonMode()
|
void |
put(java.lang.Object object,
OutboundVariable ss)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OutboundContext(boolean jsonMode)
jsonMode - Are we producing JSON output?| 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()
public boolean isJsonMode()
public java.lang.String toString()
toString in class java.lang.Object
|
Copyright ยจ 2008 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||