com.esri.arcgis.carto
Interface IExpression

All Superinterfaces:
Serializable

public interface IExpression
extends Serializable

Provides access to members that control expression calculation.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 double calculate(IFeature pFeature)
          Perform the calculation.
 String getExpression()
          Expression string applied to the field of each row in the cursor.
 boolean isValid(ITable pTable)
          Check the validity of the expression.
 void setExpression(String pExpression)
          Expression string applied to the field of each row in the cursor.
 

Method Detail

getExpression

String getExpression()
                     throws IOException,
                            AutomationException
Expression string applied to the field of each row in the cursor.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The pExpression
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setExpression

void setExpression(String pExpression)
                   throws IOException,
                          AutomationException
Expression string applied to the field of each row in the cursor.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
pExpression - The pExpression (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

calculate

double calculate(IFeature pFeature)
                 throws IOException,
                        AutomationException
Perform the calculation.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
pFeature - A reference to a com.esri.arcgis.geodatabase.IFeature (in)
Returns:
The result
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isValid

boolean isValid(ITable pTable)
                throws IOException,
                       AutomationException
Check the validity of the expression.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
pTable - A reference to a com.esri.arcgis.geodatabase.ITable (in)
Returns:
The valid
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.