|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.directwebremoting.extend.NestedOutboundVariable
org.directwebremoting.extend.ObjectOutboundVariable
public class ObjectOutboundVariable
An OutboundVariable that declares a JavaScript object
| Constructor Summary | |
|---|---|
ObjectOutboundVariable(OutboundContext context)
Constructor for when we don't have a Javascript type to populate |
|
ObjectOutboundVariable(OutboundContext context,
java.lang.Class<?> type,
java.lang.String scriptClassName)
Constructor for when we have a Javascript type to populate |
|
| Method Summary | |
|---|---|
java.lang.String |
getAssignCode()
A short script that can be used to refer to this variable |
java.lang.String |
getBuildCode()
A script that completes the definition of this variable, and may contain reference to other declared variables. |
java.lang.String |
getDeclareCode()
A script to declare the variable so it can be referred to. |
void |
setChildren(java.util.Collection<OutboundVariable> children)
We setup the children later than construction time so we can check for recursive references. |
void |
setChildren(java.util.Map<java.lang.String,OutboundVariable> childMap)
We setup the children later than construction time so we can check for recursive references. |
java.lang.String |
toString()
|
| Methods inherited from class org.directwebremoting.extend.NestedOutboundVariable |
|---|
getChildren, getReferenceVariable, isJsonMode |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ObjectOutboundVariable(OutboundContext context,
java.lang.Class<?> type,
java.lang.String scriptClassName)
public ObjectOutboundVariable(OutboundContext context)
| Method Detail |
|---|
public void setChildren(java.util.Collection<OutboundVariable> children)
NestedOutboundVariable
setChildren in class NestedOutboundVariablepublic void setChildren(java.util.Map<java.lang.String,OutboundVariable> childMap)
public java.lang.String getDeclareCode()
OutboundVariable
public java.lang.String getBuildCode()
OutboundVariable
public java.lang.String getAssignCode()
OutboundVariable
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 | |||||||||