soapdust
Class ComposedValue

java.lang.Object
  extended by soapdust.ComposedValue

public class ComposedValue
extends java.lang.Object

The main data structure used by soap-dust. A ComposedValue is a tree composed of other ComposedValue or of String. For soap-dust, every data is either a String or a ComposedValue. For instance if you need to send an int to a remote server, you have to use its String representation. That is, for instance 200 for the int 200.


Field Summary
 java.lang.String type
           
 
Constructor Summary
ComposedValue()
           
 
Method Summary
 java.util.Set<java.lang.String> getChildrenKeys()
           
 ComposedValue getComposedValue(java.lang.String key)
           
 java.lang.String getStringValue(java.lang.String key)
           
 java.lang.Object getValue(java.lang.String key)
           
 ComposedValue put(java.lang.String child, java.lang.Object value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

type

public java.lang.String type
Constructor Detail

ComposedValue

public ComposedValue()
Method Detail

getComposedValue

public ComposedValue getComposedValue(java.lang.String key)

getStringValue

public java.lang.String getStringValue(java.lang.String key)

getValue

public java.lang.Object getValue(java.lang.String key)

put

public ComposedValue put(java.lang.String child,
                         java.lang.Object value)

getChildrenKeys

public java.util.Set<java.lang.String> getChildrenKeys()

toString

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