public class AGSRecordSet
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
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
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.parseGeometry - is set to true if geometry needs to be parsed.java.io.IOExceptionjava.lang.ExceptionAutomationExceptionpublic AGSRecordSet(java.lang.String xmlStr,
boolean parseGeometry)
throws java.io.IOException,
java.lang.Exception,
AutomationException
xmlStr - as StringparseGeometry - is set to true if geometry needs to be parsed.java.io.IOExceptionjava.lang.ExceptionAutomationExceptionpublic 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.parseGeometry - is set to true if geometry needs to be parsed.java.io.IOExceptionjava.lang.ExceptionAutomationExceptionpublic 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();