| java.lang.Object org.directwebremoting.extend.InboundVariable
InboundVariable | final public class InboundVariable (Code) | | 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.
author: Joe Walker [joe at getahead dot ltd dot uk] |
Inner Class :public enum OnJsonParseError | |
InboundVariable | public InboundVariable(InboundContext context, String key, String type, String value)(Code) | | Parsing ctor
Parameters: context - How we lookup references Parameters: key - The name of the variable that this was transfered as Parameters: type - The type information from javascript Parameters: value - The javascript variable converted to a string |
InboundVariable | public InboundVariable(InboundContext context, String key, String type, FormField fileValue)(Code) | | Parsing ctor
Parameters: context - How we lookup references Parameters: key - The name of the variable that this was transfered as Parameters: type - The type information from javascript Parameters: fileValue - The javascript variable converted to a FormField |
dereference | public void dereference() throws MarshallException(Code) | | Attempt to de-reference an inbound variable.
We try de-referencing as soon as possible (why? there is a good reason
for it, it fixes some bug, but I can't remember what right now) However
the referenced variable may not exist yet, so the de-referencing may
fail, requiring us to have another go later.
throws: MarshallException - If cross-references don't add up |
getNamedObjectType | public String getNamedObjectType()(Code) | | If we are using object parameters that have specified types then the
ConverterManager will need to get to know what the required type
is.
The requested object type, or null if one was not specified |
hashCode | public int hashCode()(Code) | | |
isNull | public boolean isNull()(Code) | | Was this type null on the way in
true if the javascript variable was null or undefined. |
|
|