|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.carto.AnnotationExpressionParser
public class AnnotationExpressionParser
COM Class 'AnnotationExpressionParser'. Generated 3/19/2015 1:20:41 PM from 'C:\ArcGIS\COM\esriCarto.olb'
Description 'The expression parser handed out by the AnnotationExpressionEngine.' 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 |
---|
Fields inherited from interface com.esri.arcgis.carto.IAnnotationExpressionParser |
---|
IID, IIDaa157205_e079_11d2_9f48_00c04f6bc6a5, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.IAnnotationExpressionParser2 |
---|
IID, IID56426ae7_a129_43d7_8eb7_2b41f507f390, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.ICodedValueAttributes |
---|
IID, IIDadcf5590_4250_4d45_b8ce_436fef905829, xxDummy |
Constructor Summary | |
---|---|
AnnotationExpressionParser(java.lang.Object obj)
Construct a AnnotationExpressionParser using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another |
java.lang.String |
findLabel(IFeature feature)
The label for a given feature based on the annotation expression. |
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. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
int |
hashCode()
the hashcode for this object |
boolean |
isUseCodedValue()
Indicates if coded values are used. |
void |
lastError(int[] number,
int[] line,
java.lang.String[] description)
Reports error that occurred in FindLabel method. |
void |
release()
Release a AnnotationExpressionParser. |
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 |
Constructor Detail |
---|
public AnnotationExpressionParser(java.lang.Object obj) throws java.io.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
java.io.IOException
- if there are interop problems
AnnotationExpressionParser theAnnotationExpressionParser = (AnnotationExpressionParser) obj;
Method Detail |
---|
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public java.lang.String getExpression() throws java.io.IOException, AutomationException
getExpression
in interface IAnnotationExpressionParser
getExpression
in interface IAnnotationExpressionParser2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getAttributeCount() throws java.io.IOException, AutomationException
getAttributeCount
in interface IAnnotationExpressionParser
getAttributeCount
in interface IAnnotationExpressionParser2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getAttribute(int index) throws java.io.IOException, AutomationException
getAttribute
in interface IAnnotationExpressionParser
getAttribute
in interface IAnnotationExpressionParser2
index
- The index (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String findLabel(IFeature feature) throws java.io.IOException, AutomationException
findLabel
in interface IAnnotationExpressionParser
feature
- A reference to a com.esri.arcgis.geodatabase.IFeature (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void lastError(int[] number, int[] line, java.lang.String[] description) throws java.io.IOException, AutomationException
lastError
in interface IAnnotationExpressionParser
lastError
in interface IAnnotationExpressionParser2
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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String findLabel(IFeature feature, ILayerFields pLayerFields) throws java.io.IOException, AutomationException
findLabel
in interface IAnnotationExpressionParser2
feature
- A reference to a com.esri.arcgis.geodatabase.IFeature (in)pLayerFields
- A reference to a com.esri.arcgis.carto.ILayerFields (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isUseCodedValue() throws java.io.IOException, AutomationException
isUseCodedValue
in interface ICodedValueAttributes
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUseCodedValue(boolean flag) throws java.io.IOException, AutomationException
setUseCodedValue
in interface ICodedValueAttributes
flag
- The flag (in)
java.io.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 |