com.finwin.util
Class WDDXStruct

java.lang.Object
  |
  +--com.finwin.util.WDDXStruct

public class WDDXStruct
extends java.lang.Object
implements WDDXObject

Implements a WDDXObject which represents a multiple value structure containing variables of differing types.


Method Summary
 WDDXObject getField(int idx)
          Provides the indexed object.
 WDDXObject getField(java.lang.String name)
          Provides the named object.
 int getFieldCount()
          Provides the number of fields in this object.
 java.lang.String toString()
          Provides descriptive string output.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getFieldCount

public int getFieldCount()
Provides the number of fields in this object.
Returns:
the number of fields in this struct.

getField

public WDDXObject getField(java.lang.String name)
Provides the named object. See the See Also for types available.
Returns:
the object or null if not found.
See Also:
WDDXStruct, WDDXVar, WDDXRecordset

getField

public WDDXObject getField(int idx)
Provides the indexed object. See the See Also for types available
Returns:
the object or null if the DOM Node is not of a recognized WDDX type. See the "See Also" list for a list of recognized types.
See Also:
WDDXStruct, WDDXVar, WDDXRecordset

toString

public java.lang.String toString()
Provides descriptive string output.
Overrides:
toString in class java.lang.Object