uk.ltd.getahead.dwr
Class InboundVariable

java.lang.Object
  extended byuk.ltd.getahead.dwr.InboundVariable

public final class InboundVariable
extends java.lang.Object

A simple struct to hold data about a single converted javascript variable.

Author:
Joe Walker [joe at getahead dot ltd dot uk]

Constructor Summary
InboundVariable(InboundContext context, java.lang.String key, java.lang.String type, java.lang.String value)
          Parsing ctor
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 InboundContext getLookup()
           
 java.lang.String getType()
           
 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

InboundVariable

public InboundVariable(InboundContext context,
                       java.lang.String key,
                       java.lang.String type,
                       java.lang.String value)
Parsing ctor

Parameters:
context - How we lookup references
key - The name of the variable that this was transfered as
type - The type information from javascript
value - The javascript variable converted to a string
Method Detail

getLookup

public InboundContext getLookup()
Returns:
Returns the lookup table.

getType

public java.lang.String getType()
Returns:
Returns the type.

isNull

public boolean isNull()
Was this type null on the way in

Returns:
true if the javascript variable was null or undefined.

getValue

public java.lang.String getValue()
Returns:
Returns the value.

toString

public java.lang.String toString()

equals

public boolean equals(java.lang.Object obj)

hashCode

public int hashCode()

Copyright ? 2005