|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.carto.HotLinkExpressionParser
public class HotLinkExpressionParser
The expression parser handed out by the HotLink Expression Engines.
| Constructor Summary | |
|---|---|
HotLinkExpressionParser(Object obj)
Construct a HotLinkExpressionParser 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 HotLinkExpressionParser(Object obj)
throws IOException
obj to HotLinkExpressionParser. *
HotLinkExpressionParser o = (HotLinkExpressionParser)obj; // will not work
HotLinkExpressionParser o = new HotLinkExpressionParser(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
IOException - if there are interop problems
HotLinkExpressionParser theHotLinkExpressionParser = (HotLinkExpressionParser) 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 | ||||||||