|
||||||||||
| 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.
| Constructor Summary | |
|---|---|
InboundVariable(InboundContext context)
Constructor for when we need something to represent null |
|
InboundVariable(InboundContext context,
InboundVariable[] members)
Constructor for when we need to temporarily create an InboundVariable for sorting out varargs |
|
InboundVariable(InboundContext context,
java.lang.String key,
java.lang.String type,
FormField fileField)
Parsing ctor |
|
InboundVariable(InboundContext context,
java.lang.String key,
java.lang.String type,
FormField fileField,
boolean urlDecoded)
Parsing ctor |
|
InboundVariable(InboundContext context,
java.lang.String key,
java.lang.String type,
java.lang.String value)
Parsing ctor |
|
InboundVariable(InboundContext context,
java.lang.String key,
java.lang.String type,
java.lang.String value,
boolean urlDecoded)
Parsing ctor |
|
| Method Summary | |
|---|---|
void |
dereference()
Attempt to de-reference an inbound variable. |
boolean |
equals(java.lang.Object obj)
|
InboundContext |
getContext()
Accessor of the context of the variable: the other related variables |
FormField |
getFormField()
|
InboundVariable[] |
getMembers()
Nasty hack to get around varargs |
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 |
getType()
|
java.lang.String |
getValue()
|
int |
hashCode()
|
boolean |
isNull()
Was this type null on the way in |
java.lang.String |
toString()
|
java.lang.String |
urlDecode()
|
| 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,
java.lang.String value,
boolean urlDecoded)
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 stringhas - the data already been URL decoded?
public InboundVariable(InboundContext context,
java.lang.String key,
java.lang.String type,
FormField fileField)
context - How we lookup referenceskey - The name of the variable that this was transfered astype - The type information from javascriptfileField - The javascript variable converted to a FormField
public InboundVariable(InboundContext context,
java.lang.String key,
java.lang.String type,
FormField fileField,
boolean urlDecoded)
context - How we lookup referenceskey - The name of the variable that this was transfered astype - The type information from javascriptfileField - The javascript variable converted to a FormFieldhas - the data already been URL decoded?public InboundVariable(InboundContext context)
context - How we lookup references
public InboundVariable(InboundContext context,
InboundVariable[] members)
context - How we lookup references| Method Detail |
|---|
public InboundContext getContext()
public void dereference()
throws ConversionException
ConversionException - If cross-references don't add uppublic java.lang.String urlDecode()
public java.lang.String getNamedObjectType()
ConverterManager will need to get to know what the required type
is.
public boolean isNull()
public java.lang.String getValue()
public FormField getFormField()
public java.lang.String getType()
public InboundVariable[] getMembers()
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 ยจ 2008 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||