soapdust
Class ComposedValue
java.lang.Object
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
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
type
public java.lang.String type
ComposedValue
public ComposedValue()
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