|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.util.dataset.AGSRecordSet
public class 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(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 IOException,
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.
IOException
Exception
AutomationException
public AGSRecordSet(String xmlStr,
boolean parseGeometry)
throws IOException,
Exception,
AutomationException
xmlStr - as StringparseGeometry - is set to true if geometry needs to be parsed.
IOException
Exception
AutomationException
public AGSRecordSet(IRecordSet rSet,
IXMLSerializer serializer,
boolean parseGeometry)
throws IOException,
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.
IOException
Exception
AutomationException| 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 | ||||||||