|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.ksoap.SoapObject
A simple dynamic object that can be used to build soap calls without implementing KvmSerializable
Essentially, this is what goes inside the body of a soap envelope - it is the direct subelement of the body and all further subelements
Instead of this this class, custom classes can be used if they implement the KvmSerializable interface.
| Constructor Summary | |
SoapObject(java.lang.String namespace,
java.lang.String name)
Creates a new SoapObject instance. |
|
| Method Summary | |
SoapObject |
addProperty(PropertyInfo pi,
java.lang.Object value)
Adds a property (parameter) to the object. |
SoapObject |
addProperty(java.lang.String name,
ElementType type,
java.lang.Object value)
Deprecated. Adds a property (parameter) to the object. This is essentially a sub element. |
SoapObject |
addProperty(java.lang.String name,
java.lang.Object value)
Adds a property (parameter) to the object. |
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getName()
|
java.lang.String |
getNamespace()
|
java.lang.Object |
getProperty(int index)
Returns a specific property at a certain index. |
java.lang.Object |
getProperty(java.lang.String name)
|
int |
getPropertyCount()
Returns the number of properties |
void |
getPropertyInfo(int index,
PropertyInfo pi)
Places PropertyInfo of desired property into a designated PropertyInfo object |
SoapObject |
newInstance()
Creates a new SoapObject based on this, allows usage of SoapObjects as templates. |
void |
setProperty(int index,
java.lang.Object value)
Sets a specified property to a certain value. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SoapObject(java.lang.String namespace,
java.lang.String name)
SoapObject instance.namespace - the namespace for the soap objectname - the name of the soap object| Method Detail |
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String getName()
public java.lang.String getNamespace()
public java.lang.Object getProperty(int index)
getProperty in interface KvmSerializableindex - the index of the desired propertypublic java.lang.Object getProperty(java.lang.String name)
public int getPropertyCount()
getPropertyCount in interface KvmSerializable
public void getPropertyInfo(int index,
PropertyInfo pi)
getPropertyInfo in interface KvmSerializableindex - index of desired propertyinfo - designated retainer of desired propertypublic SoapObject newInstance()
public void setProperty(int index,
java.lang.Object value)
setProperty in interface KvmSerializableindex - the index of the specified propertyvalue - the new value of the property
public SoapObject addProperty(java.lang.String name,
java.lang.Object value)
name - The name of the propertyvalue - the value of the property
public SoapObject addProperty(java.lang.String name,
ElementType type,
java.lang.Object value)
name - the name of the propertytype - the type or class of the elementvalue - the value of the property
public SoapObject addProperty(PropertyInfo pi,
java.lang.Object value)
name - the name of the propertytype - the type or class of the elementvalue - the value of the property
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||