|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.catalogUI.FileSystemQuery
public class FileSystemQuery
A query that can be used to search XML documents.
| Constructor Summary | |
|---|---|
FileSystemQuery()
Constructs a FileSystemQuery using ArcGIS Engine. |
|
FileSystemQuery(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. FileSystemQuery theFileSystemQuery = (FileSystemQuery) obj; |
|
| Method Summary | |
|---|---|
void |
addFieldQuery(int type,
int op,
String value,
String tag)
Adds a field query. |
void |
buildExpressions()
Creates a set of XSL Pattern expressions from a query. |
boolean |
equals(Object o)
Compare this object with another |
String |
getBackgroundMap()
Full name of the dataset to be used as the background map in the Geography tab. |
IUID |
getClassID()
Class ID indicating the type of query object that has been defined. |
static String |
getClsid()
getClsid. |
int |
getContentType()
The Content type. |
String |
getDatasetName()
Name of the dataset for which to search. |
INativeType |
getDatasetType()
Type of object for which to search. |
String |
getDate1()
Start date, or first date. |
String |
getDate2()
End date, or second date. |
int |
getDateOperator()
Operator for comparing dates. |
int |
getDateType()
Date that will be tested. |
IPropertySet |
getEngineProperties()
Property set containing properties of the search engine that will be used to execute the query. |
IEnvelope |
getEnvelope()
Search extent in decimal degrees. |
int |
getEnvelopeOperator()
Operator for comparing the dataset's extent to the search extent. |
String |
getExpression(int index)
The nth expression. |
void |
getFieldQuery(int index,
int[] type,
int[] op,
String[] value,
String[] tag)
Returns the nth field query. |
String |
getNameOfQuery()
Name of the query. |
IEnvelope |
getNativeEnvelope()
Search extent in the dataset's coordinate system. |
int |
getNumExpressions()
Number of expressions that were generated. |
int |
getNumFieldQueries()
Number of field queries. |
int |
hashCode()
the hashcode for this object |
boolean |
isAnd()
Indicates if the expressions are ANDed together (as opposed to ORed). |
boolean |
isCaseSensitive()
Indicates if field query comparisons will be case sensitive. |
void |
load(IPropertySet pPropertySet)
Loads the query's parameters from the given XML property set. |
void |
save(IPropertySet pPropertySet)
Saves the query's parameters to the given XML property set. |
void |
setBackgroundMap(String pBackgroundMap)
Full name of the dataset to be used as the background map in the Geography tab. |
void |
setContentType(int type)
The Content type. |
void |
setDatasetName(String name)
Name of the dataset for which to search. |
void |
setDatasetTypeByRef(INativeType ppNativeType)
Type of object for which to search. |
void |
setDate1(String date)
Start date, or first date. |
void |
setDate2(String date)
End date, or second date. |
void |
setDateOperator(int op)
Operator for comparing dates. |
void |
setDateType(int type)
Date that will be tested. |
void |
setEnvelopeByRef(IEnvelope ppEnvelope)
Search extent in decimal degrees. |
void |
setEnvelopeOperator(int pOp)
Operator for comparing the dataset's extent to the search extent. |
void |
setIsAnd(boolean isAnd)
Indicates if the expressions are ANDed together (as opposed to ORed). |
void |
setIsCaseSensitive(boolean isCaseSensitive)
Indicates if field query comparisons will be case sensitive. |
void |
setNameOfQuery(String name)
Name of the query. |
void |
setNativeEnvelopeByRef(IEnvelope ppEnvelope)
Search extent in the dataset's coordinate system. |
| 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 FileSystemQuery()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public FileSystemQuery(Object obj)
throws IOException
FileSystemQuery theFileSystemQuery = (FileSystemQuery) obj;
obj to FileSystemQuery.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public String getNameOfQuery()
throws IOException,
AutomationException
getNameOfQuery in interface IQueryIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setNameOfQuery(String name)
throws IOException,
AutomationException
setNameOfQuery in interface IQueryname - The name (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getDatasetName()
throws IOException,
AutomationException
getDatasetName in interface IQueryIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDatasetName(String name)
throws IOException,
AutomationException
setDatasetName in interface IQueryname - The name (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isCaseSensitive()
throws IOException,
AutomationException
isCaseSensitive in interface IQueryIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setIsCaseSensitive(boolean isCaseSensitive)
throws IOException,
AutomationException
setIsCaseSensitive in interface IQueryisCaseSensitive - The isCaseSensitive (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INativeType getDatasetType()
throws IOException,
AutomationException
getDatasetType in interface IQueryIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDatasetTypeByRef(INativeType ppNativeType)
throws IOException,
AutomationException
setDatasetTypeByRef in interface IQueryppNativeType - A reference to a com.esri.arcgis.geodatabase.INativeType (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnvelope getEnvelope()
throws IOException,
AutomationException
getEnvelope in interface IQueryIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setEnvelopeByRef(IEnvelope ppEnvelope)
throws IOException,
AutomationException
setEnvelopeByRef in interface IQueryppEnvelope - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnvelope getNativeEnvelope()
throws IOException,
AutomationException
getNativeEnvelope in interface IQueryIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setNativeEnvelopeByRef(IEnvelope ppEnvelope)
throws IOException,
AutomationException
setNativeEnvelopeByRef in interface IQueryppEnvelope - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getEnvelopeOperator()
throws IOException,
AutomationException
getEnvelopeOperator in interface IQueryIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setEnvelopeOperator(int pOp)
throws IOException,
AutomationException
setEnvelopeOperator in interface IQuerypOp - A com.esri.arcgis.catalog.esriFindEnvelopeOperator constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getDateType()
throws IOException,
AutomationException
getDateType in interface IQueryIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDateType(int type)
throws IOException,
AutomationException
setDateType in interface IQuerytype - A com.esri.arcgis.catalog.esriFindDateType constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getDateOperator()
throws IOException,
AutomationException
getDateOperator in interface IQueryIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDateOperator(int op)
throws IOException,
AutomationException
setDateOperator in interface IQueryop - A com.esri.arcgis.catalog.esriFindDateOperator constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getDate1()
throws IOException,
AutomationException
getDate1 in interface IQueryIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDate1(String date)
throws IOException,
AutomationException
setDate1 in interface IQuerydate - The date (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getDate2()
throws IOException,
AutomationException
getDate2 in interface IQueryIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDate2(String date)
throws IOException,
AutomationException
setDate2 in interface IQuerydate - The date (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getNumFieldQueries()
throws IOException,
AutomationException
getNumFieldQueries in interface IQueryIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getFieldQuery(int index,
int[] type,
int[] op,
String[] value,
String[] tag)
throws IOException,
AutomationException
getFieldQuery in interface IQueryindex - The index (in)type - A com.esri.arcgis.catalog.esriFindFieldType constant (out: use single element array)op - A com.esri.arcgis.catalog.esriFindFieldOperator constant (out: use single element array)value - The value (out: use single element array)tag - The tag (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addFieldQuery(int type,
int op,
String value,
String tag)
throws IOException,
AutomationException
addFieldQuery in interface IQuerytype - A com.esri.arcgis.catalog.esriFindFieldType constant (in)op - A com.esri.arcgis.catalog.esriFindFieldOperator constant (in)value - The value (in)tag - The tag (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IUID getClassID()
throws IOException,
AutomationException
getClassID in interface IQueryIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void load(IPropertySet pPropertySet)
throws IOException,
AutomationException
load in interface IQuerypPropertySet - A reference to a com.esri.arcgis.system.IPropertySet (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void save(IPropertySet pPropertySet)
throws IOException,
AutomationException
save in interface IQuerypPropertySet - A reference to a com.esri.arcgis.system.IPropertySet (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPropertySet getEngineProperties()
throws IOException,
AutomationException
getEngineProperties in interface IQueryIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void buildExpressions()
throws IOException,
AutomationException
buildExpressions in interface IXmlQueryIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getNumExpressions()
throws IOException,
AutomationException
getNumExpressions in interface IXmlQueryIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getExpression(int index)
throws IOException,
AutomationException
getExpression in interface IXmlQueryindex - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isAnd()
throws IOException,
AutomationException
isAnd in interface IXmlQueryIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setIsAnd(boolean isAnd)
throws IOException,
AutomationException
setIsAnd in interface IXmlQueryisAnd - The isAnd (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getContentType()
throws IOException,
AutomationException
getContentType in interface IArcIMSQueryIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setContentType(int type)
throws IOException,
AutomationException
setContentType in interface IArcIMSQuerytype - A com.esri.arcgis.catalog.esriContentType constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getBackgroundMap()
throws IOException,
AutomationException
getBackgroundMap in interface IFindDialogSettingsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setBackgroundMap(String pBackgroundMap)
throws IOException,
AutomationException
setBackgroundMap in interface IFindDialogSettingspBackgroundMap - The pBackgroundMap (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 | ||||||||