org.apache.xmlrpc
Class XmlRpc.Value

java.lang.Object
  extended by org.apache.xmlrpc.XmlRpc.Value
Enclosing class:
XmlRpc

 class XmlRpc.Value
extends java.lang.Object

This represents a XML-RPC value parsed from the request.


Field Summary
(package private)  java.util.Vector array
           
(package private)  java.lang.String nextMemberName
           
(package private)  java.util.Hashtable struct
           
(package private)  int type
           
(package private)  java.lang.Object value
           
 
Constructor Summary
XmlRpc.Value()
          Constructor.
 
Method Summary
 void characterData(java.lang.String cdata)
          Set the character data for the element and interpret it according to the element type.
 void endElement(XmlRpc.Value child)
          Notification that a new child element has been parsed.
 int hashCode()
          This is a performance hack to get the type of a value without casting the Object.
 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

type

int type

value

java.lang.Object value

nextMemberName

java.lang.String nextMemberName

struct

java.util.Hashtable struct

array

java.util.Vector array
Constructor Detail

XmlRpc.Value

public XmlRpc.Value()
Constructor.

Method Detail

endElement

public void endElement(XmlRpc.Value child)
Notification that a new child element has been parsed.


setType

public void setType(int type)
Set the type of this value. If it's a container, create the corresponding java container.


characterData

public void characterData(java.lang.String cdata)
Set the character data for the element and interpret it according to the element type.


hashCode

public int hashCode()
This is a performance hack to get the type of a value without casting the Object. It breaks the contract of method hashCode, but it doesn't matter since Value objects are never used as keys in Hashtables.

Overrides:
hashCode in class java.lang.Object

toString

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


Copyright 2001-2001-2005 Apache Software Foundation. All Rights Reserved.