com.nimkathana.swx.xmlrpc
Class XmlRpcValue

java.lang.Object
  extended bycom.nimkathana.swx.xmlrpc.XmlRpcValue

public class XmlRpcValue
extends java.lang.Object

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

Version:
April 2004
Author:
Maintained by Nimkathana (www.nimkathana.com), Original by IOP GmbH (www.iop.de)

Field Summary
static int ARRAY
           
static int BASE64
           
static int BOOLEAN
           
static int DATE
           
static int DOUBLE
           
static int INTEGER
           
static int STRING
           
static int STRUCT
           
 
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
See Also:
Constant Field Values

INTEGER

public static final int INTEGER
See Also:
Constant Field Values

BOOLEAN

public static final int BOOLEAN
See Also:
Constant Field Values

DOUBLE

public static final int DOUBLE
See Also:
Constant Field Values

DATE

public static final int DATE
See Also:
Constant Field Values

BASE64

public static final int BASE64
See Also:
Constant Field Values

STRUCT

public static final int STRUCT
See Also:
Constant Field Values

ARRAY

public static final int ARRAY
See Also:
Constant Field Values
Constructor Detail

XmlRpcValue

public XmlRpcValue()
Method Detail

toString

public java.lang.String toString()

hashCode

public int hashCode()

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


Copyright © 2004 Nimkathana Corp. All Rights Reserved.