|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.directwebremoting.extend.InboundVariable
public final class InboundVariable
A simple struct to hold data about a single converted javascript variable.
An inbound variable will have either a value or a fileValue but not both.
If file is true fileValue will be populated, otherwise value
will be populated.
| Nested Class Summary | |
|---|---|
static class |
InboundVariable.OnJsonParseError
|
| Constructor Summary | |
|---|---|
InboundVariable(InboundContext context,
java.lang.String key,
java.lang.String type,
FormField fileValue)
Parsing ctor |
|
InboundVariable(InboundContext context,
java.lang.String key,
java.lang.String type,
java.lang.String value)
Parsing ctor |
|
| Method Summary | |
|---|---|
void |
dereference()
Attempt to de-reference an inbound variable. |
boolean |
equals(java.lang.Object obj)
|
FormField |
getFormField()
|
JsonValue |
getJsonValue(InboundVariable.OnJsonParseError onError)
Convert the set of InboundVariables to JSON |
InboundContext |
getLookup()
|
java.lang.String |
getNamedObjectType()
If we are using object parameters that have specified types then the ConverterManager will need to get to know what the required type
is. |
java.lang.String |
getValue()
|
int |
hashCode()
|
boolean |
isNull()
Was this type null on the way in |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public InboundVariable(InboundContext context,
java.lang.String key,
java.lang.String type,
java.lang.String value)
context - How we lookup referenceskey - The name of the variable that this was transfered astype - The type information from javascriptvalue - The javascript variable converted to a string
public InboundVariable(InboundContext context,
java.lang.String key,
java.lang.String type,
FormField fileValue)
context - How we lookup referenceskey - The name of the variable that this was transfered astype - The type information from javascriptfileValue - The javascript variable converted to a FormField| Method Detail |
|---|
public void dereference()
throws MarshallException
MarshallException - If cross-references don't add uppublic InboundContext getLookup()
public java.lang.String getNamedObjectType()
ConverterManager will need to get to know what the required type
is.
public JsonValue getJsonValue(InboundVariable.OnJsonParseError onError)
throws InvalidJsonException
InboundVariables to JSON
InvalidJsonException - If this can't be represented as JSONpublic boolean isNull()
public java.lang.String getValue()
public FormField getFormField()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
Copyright ¬ 2005 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||