superwaba.ext.xplat.webservice
Class XmlRpcValue

java.lang.Object
  |
  +--superwaba.ext.xplat.webservice.XmlRpcValue

public class XmlRpcValue
extends java.lang.Object

Used to represent an XML-RPC value while a request is being parsed.


Field Summary
static int ARRAY
           
static int BASE64
           
static int BOOLEAN
           
static int DATE
           
static int DOUBLE
           
static int FAULT
           
static int I4
           
static int INTEGER
           
static int LONG
           
static int MEMBER
           
static int METHODNAME
           
static int NAME
           
static int STRING
           
static int STRUCT
           
static IntHashtable tag2code
           
static int VALUE
           
 
Constructor Summary
XmlRpcValue()
           
 
Method Summary
 void characterData(java.lang.String cdata)
          Set the character data for the element and interprets it according to the element type
 void endElement(XmlRpcValue child)
          Notification that a new child element has been parsed.
 java.lang.Object getValue()
          Gets the corresponding object of this XmlRpcValue
 int hashCode()
           
 void setType(int type)
          Set the type of this value.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

STRING

public static final int STRING

INTEGER

public static final int INTEGER

BOOLEAN

public static final int BOOLEAN

DOUBLE

public static final int DOUBLE

DATE

public static final int DATE

BASE64

public static final int BASE64

STRUCT

public static final int STRUCT

ARRAY

public static final int ARRAY

LONG

public static final int LONG

VALUE

public static final int VALUE

MEMBER

public static final int MEMBER

FAULT

public static final int FAULT

METHODNAME

public static final int METHODNAME

NAME

public static final int NAME

I4

public static final int I4

tag2code

public static IntHashtable tag2code
Constructor Detail

XmlRpcValue

public XmlRpcValue()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getValue

public java.lang.Object getValue()
Gets the corresponding object of this XmlRpcValue
Returns:
This XmlRpcValue's object

endElement

public void endElement(XmlRpcValue child)
Notification that a new child element has been parsed.
Parameters:
child - The child that was parsed

setType

public void setType(int type)
Set the type of this value. If it's a container, this creates the corresponding java container.
Parameters:
type - One of this class' public fields

characterData

public void characterData(java.lang.String cdata)
Set the character data for the element and interprets it according to the element type
Parameters:
cdata - The character data to set and interpret