com.esri.arcgis.carto
Interface IAnnotationExpressionParser2

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
AnnotationExpressionParser, HotLinkExpressionParser, IAnnotationExpressionParser2Proxy

public interface IAnnotationExpressionParser2
extends java.io.Serializable

COM Interface 'IAnnotationExpressionParser2'. Generated 3/19/2015 1:20:52 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description: 'Provides access to members to parse annotation expressions.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID56426ae7_a129_43d7_8eb7_2b41f507f390
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 java.lang.String findLabel(IFeature feature, ILayerFields pLayerFields)
          The label for a given feature based on the annotation expression.
 java.lang.String getAttribute(int index)
          The attribute fields in the expression.
 int getAttributeCount()
          The number of attribute fields in the expression.
 java.lang.String getExpression()
          The annotation expression.
 void lastError(int[] number, int[] line, java.lang.String[] description)
          Reports error that occurred in FindLabel method.
 

Field Detail

IID56426ae7_a129_43d7_8eb7_2b41f507f390

static final int IID56426ae7_a129_43d7_8eb7_2b41f507f390
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

getExpression

java.lang.String getExpression()
                               throws java.io.IOException,
                                      AutomationException
The annotation expression.

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

getAttributeCount

int getAttributeCount()
                      throws java.io.IOException,
                             AutomationException
The number of attribute fields in the expression.

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

getAttribute

java.lang.String getAttribute(int index)
                              throws java.io.IOException,
                                     AutomationException
The attribute fields in the expression.

Parameters:
index - The index (in)
Returns:
The attribute
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findLabel

java.lang.String findLabel(IFeature feature,
                           ILayerFields pLayerFields)
                           throws java.io.IOException,
                                  AutomationException
The label for a given feature based on the annotation expression.

Parameters:
feature - A reference to a com.esri.arcgis.geodatabase.IFeature (in)
pLayerFields - A reference to a com.esri.arcgis.carto.ILayerFields (in)
Returns:
The label
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

lastError

void lastError(int[] number,
               int[] line,
               java.lang.String[] description)
               throws java.io.IOException,
                      AutomationException
Reports error that occurred in FindLabel method.

Parameters:
number - The number (in/out: use single element array)
line - The line (in/out: use single element array)
description - The description (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.