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.
|
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 |
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
XmlRpcValue
public XmlRpcValue()
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