|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.arcgis.util.dataset.AGSRecordSet
These are native java objects, This serializes a com.esri.arcgis.geodatabase.IRecordSet Object and parses the XML to retrive the Fields & Records. Contains a collections of AGSRecord and AGSFields objects.
| Constructor Summary | |
AGSRecordSet(IRecordSet rSet,
IXMLSerializer serializer,
boolean parseGeometry)
Populate the recordsets objects with fields, records and geometry |
|
AGSRecordSet(IRecordSet rSet,
IXMLSerializer serializer,
IPropertySet pSet,
IXMLFlags xmlFlags,
boolean parseGeometry)
Populate the recordsets objects with fields, records and geometry |
|
AGSRecordSet(java.lang.String xmlStr,
boolean parseGeometry)
Populate the recordsets objects with fields, records and geometry |
|
| Method Summary | |
boolean |
addRecord(AGSRecord object)
Adds the given AGSRecord objects to a records object collection in this Recordset. |
void |
clearRecordset()
Clears all AGSRecord, and Geometry objects from the Recordset object. |
AGSFields |
getFields()
Returns the AGSFields associated with this Recordset object. |
AGSRecord |
getRecord(int index)
Returns the AGSRecord object at given index in this Recordset. |
int |
getRecordsCount()
Returns the number of records that are actually in the Recordset |
void |
setFields(AGSFields object)
Sets the AGSFields object of the Recordset object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AGSRecordSet(IRecordSet rSet,
IXMLSerializer serializer,
IPropertySet pSet,
IXMLFlags xmlFlags,
boolean parseGeometry)
throws java.io.IOException,
java.lang.Exception,
AutomationException
rSet - the IRecordSet that needs to be parsed.serializer - as IXMLSerializer object.pSet - as IPropertySet object.xmlFlags - as IXMLFlags object.
public AGSRecordSet(java.lang.String xmlStr,
boolean parseGeometry)
throws java.io.IOException,
java.lang.Exception,
AutomationException
public AGSRecordSet(IRecordSet rSet,
IXMLSerializer serializer,
boolean parseGeometry)
throws java.io.IOException,
java.lang.Exception,
AutomationException
rSet - the IRecordSet that needs to be parsed.serializer - as IXMLSerializer object.| Method Detail |
public int getRecordsCount()
public AGSRecord getRecord(int index)
AGSRecord records = recordset.getRecords(0);
index - the AGSRecord object to return.
public AGSFields getFields()
AGSFields field = recordset.getField();
public boolean addRecord(AGSRecord object)
public void setFields(AGSFields object)
object - the AGSFields object.public void clearRecordset()
recordset.clearRecordset();
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||