Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

oracle.adfnmc.dc.ws
Class SoapGenericType

java.lang.Object
  extended by oracle.adfnmc.util.GenericType
      extended by oracle.adfnmc.dc.ws.SoapGenericType
All Implemented Interfaces:
org.ksoap2.serialization.KvmSerializable

public class SoapGenericType
extends GenericType
implements org.ksoap2.serialization.KvmSerializable


Field Summary
 
Fields inherited from class oracle.adfnmc.util.GenericType
attribute, attributeInfo, complex, GENERIC_TYPE_DEBUG, name, namespace, parent
 
Constructor Summary
SoapGenericType(GenericType gt)
          Copy constructor
SoapGenericType(java.lang.String namespace, java.lang.String name)
          Create a new soap generic type for the namespace/name type.
SoapGenericType(java.lang.String namespace, java.lang.String name, org.ksoap2.serialization.SoapObject so, java.lang.String bean)
          Copy constructor
 
Method Summary
protected  java.lang.Object convert(java.lang.String value, java.lang.Class klass)
           
static java.lang.Object convert(java.lang.String value, java.lang.String fcn)
           
 java.lang.Object getProperty(int i)
          Get the value of the i'th property
 int getPropertyCount()
           
 void getPropertyInfo(int i, java.util.Hashtable hshtbl, org.ksoap2.serialization.PropertyInfo pi)
          Get the property information about the i'th property
protected  void load(java.lang.String name, org.ksoap2.serialization.SoapObject so, JavaBeanObject jbo)
          Load the given SoapGenericType from a passed in SoapObject.
 void register(org.ksoap2.serialization.SoapSerializationEnvelope sse)
          Register this generic soap type handler along with all the base type handlers (marshallers) developed to the handle the basic built-in simple types defined by XML Schema.
 void setProperty(int i, java.lang.Object obj)
          Set the i'th property to be obj
 
Methods inherited from class oracle.adfnmc.util.GenericType
copy, defineAttribute, defineAttribute, defineAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttributeCollection, getAttributeCount, getAttributeCount, getAttributeCount, getAttributeInfo, getAttributeInfo, getAttributeInfo, getAttributeInfo, getAttributeInfoCollection, getAttributeType, getName, getNamespace, getParent, isComplexType, log, log, setAttribute, setAttribute, setAttribute, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SoapGenericType

public SoapGenericType(java.lang.String namespace,
                       java.lang.String name)
Create a new soap generic type for the namespace/name type.

Parameters:
namespace -
name -

SoapGenericType

public SoapGenericType(GenericType gt)
Copy constructor

Parameters:
gt -

SoapGenericType

public SoapGenericType(java.lang.String namespace,
                       java.lang.String name,
                       org.ksoap2.serialization.SoapObject so,
                       java.lang.String bean)
Copy constructor

Parameters:
so -
Method Detail

register

public void register(org.ksoap2.serialization.SoapSerializationEnvelope sse)
Register this generic soap type handler along with all the base type handlers (marshallers) developed to the handle the basic built-in simple types defined by XML Schema.

Parameters:
sse -

load

protected void load(java.lang.String name,
                    org.ksoap2.serialization.SoapObject so,
                    JavaBeanObject jbo)
Load the given SoapGenericType from a passed in SoapObject. This is a very expensive operation, since it must create several objects for each property and sub-tree.

Parameters:
name -
so -

convert

protected java.lang.Object convert(java.lang.String value,
                                   java.lang.Class klass)

convert

public static java.lang.Object convert(java.lang.String value,
                                       java.lang.String fcn)

getPropertyInfo

public void getPropertyInfo(int i,
                            java.util.Hashtable hshtbl,
                            org.ksoap2.serialization.PropertyInfo pi)
Get the property information about the i'th property

Specified by:
getPropertyInfo in interface org.ksoap2.serialization.KvmSerializable
Parameters:
i - property in question index
hshtbl - (mostly not used)
pi - property information returned

getProperty

public java.lang.Object getProperty(int i)
Get the value of the i'th property

Specified by:
getProperty in interface org.ksoap2.serialization.KvmSerializable
Parameters:
i - property index
Returns:
value of the property

getPropertyCount

public int getPropertyCount()
Specified by:
getPropertyCount in interface org.ksoap2.serialization.KvmSerializable
Returns:
number of properties

setProperty

public void setProperty(int i,
                        java.lang.Object obj)
Set the i'th property to be obj

Specified by:
setProperty in interface org.ksoap2.serialization.KvmSerializable
Parameters:
i - property index
obj - value to set the property to

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.