|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OutboundVariable
A simple data container for the strings that comprise information about how a Java object has been converted into Javascript.
There are 3 steps to conversion:
ConverterManager creates a set of OutboundVariables
from the raw data.
There are potentially 3 parts to a variable in Javascript. If the variable is not something that can recurse then only the assignCode will contain data. Otherwise all the parts will be filled out.
var s0 = []; or
var s1 = {};.
| 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. |
OutboundVariable |
getReferenceVariable()
Get a reference to this OutboundVariable. |
| Method Detail |
|---|
OutboundVariable getReferenceVariable()
this already is a reference then this method returns
this, or if not it creates one that does.
java.lang.String getDeclareCode()
java.lang.String getBuildCode()
java.lang.String getAssignCode()
|
Copyright ยจ 2008 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||