| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.carto.AnnotationExpressionParser
public class AnnotationExpressionParser
The expression parser handed out by the AnnotationExpressionEngine.
| Constructor Summary | |
|---|---|
| AnnotationExpressionParser(Object obj)Construct a AnnotationExpressionParser using a reference to such an object returned from ArcGIS Engine or Server. | |
| Method Summary | |
|---|---|
|  boolean | equals(Object o)Compare this object with another | 
|  String | findLabel(IFeature feature)The label for a given feature based on the annotation expression. | 
|  String | findLabel(IFeature feature,
          ILayerFields pLayerFields)The label for a given feature based on the annotation expression. | 
|  String | getAttribute(int index)The attribute fields in the expression. | 
|  int | getAttributeCount()The number of attribute fields in the expression. | 
|  String | getExpression()The annotation expression. | 
|  int | hashCode()the hashcode for this object | 
|  boolean | isUseCodedValue()Indicates if coded values are used. | 
|  void | lastError(int[] number,
          int[] line,
          String[] description)Reports error that occurred in FindLabel method. | 
|  void | setUseCodedValue(boolean flag)Indicates if coded values are used. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef | 
|---|
| getJintegraDispatch, release | 
| Constructor Detail | 
|---|
public AnnotationExpressionParser(Object obj)
                           throws IOException
obj to AnnotationExpressionParser.   * 
AnnotationExpressionParser o = (AnnotationExpressionParser)obj; // will not work 
 
AnnotationExpressionParser o = new AnnotationExpressionParser(obj); // Use this constructor instead  
    * @param     obj an object returned from ArcGIS Engine or Server
IOException - if there are interop problems
  AnnotationExpressionParser theAnnotationExpressionParser = (AnnotationExpressionParser) obj;| Method Detail | 
|---|
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public String getExpression()
                     throws IOException,
                            AutomationException
getExpression in interface IAnnotationExpressionParsergetExpression in interface IAnnotationExpressionParser2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getAttributeCount()
                      throws IOException,
                             AutomationException
getAttributeCount in interface IAnnotationExpressionParsergetAttributeCount in interface IAnnotationExpressionParser2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getAttribute(int index)
                    throws IOException,
                           AutomationException
getAttribute in interface IAnnotationExpressionParsergetAttribute in interface IAnnotationExpressionParser2index - The index  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String findLabel(IFeature feature)
                 throws IOException,
                        AutomationException
findLabel in interface IAnnotationExpressionParserfeature - A reference to a com.esri.arcgis.geodatabase.IFeature  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void lastError(int[] number,
                      int[] line,
                      String[] description)
               throws IOException,
                      AutomationException
lastError in interface IAnnotationExpressionParserlastError in interface IAnnotationExpressionParser2number - 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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String findLabel(IFeature feature,
                        ILayerFields pLayerFields)
                 throws IOException,
                        AutomationException
findLabel in interface IAnnotationExpressionParser2feature - A reference to a com.esri.arcgis.geodatabase.IFeature  (in)pLayerFields - A reference to a com.esri.arcgis.carto.ILayerFields  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isUseCodedValue()
                        throws IOException,
                               AutomationException
isUseCodedValue in interface ICodedValueAttributesIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setUseCodedValue(boolean flag)
                      throws IOException,
                             AutomationException
setUseCodedValue in interface ICodedValueAttributesflag - The flag  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||