org.apache.xmlrpc.applet
Class XmlRpcSupport.Value

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

 class XmlRpcSupport.Value
extends java.lang.Object

This represents an XML-RPC Value while the request is being parsed.


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
XmlRpcSupport.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(XmlRpcSupport.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

XmlRpcSupport.Value

public XmlRpcSupport.Value()
Constructor.

Method Detail

endElement

public void endElement(XmlRpcSupport.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.