Class XmlRpcValue


  • public class XmlRpcValue
    extends java.lang.Object
    Used to represent an XML-RPC value while a request is being parsed.
    • Constructor Summary

      Constructors 
      Constructor Description
      XmlRpcValue()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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
    • 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