|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.moximedia.aims.AimsFilter
Representation of an ArcIMS filter object. A filter is used to restrict the features of a featurelayer, or in a query of its recordset.
| Constructor Summary | |
AimsFilter()
Creates new Filter |
|
| Method Summary | |
java.lang.Object |
clone()
Creates a copy of this object. |
AimsBuffer |
getBuffer()
|
AimsSpatialFilter |
getSpatialFilter()
Gets the spatial filter associated with this object, if any. |
java.lang.String |
getWhereExpression()
Gets the where part of SQL. |
void |
setAccuracy(int accuracy)
Set the filter accuracy |
void |
setBuffer(AimsBuffer buffer)
Sets the buffer of the filter to the specified buffer. |
void |
setFeatureCoordsys(AimsCoordsys coordsys)
Sets the feature coordsys. |
void |
setFilterCoordsys(AimsCoordsys coordsys)
Sets the filter coordsys. |
void |
setJoinExpression(java.lang.String join)
Set table join expressions |
void |
setJoinTables(java.lang.String jointab)
Set the list of join tables |
void |
setSearchOrder(java.lang.String order)
Set the search order |
void |
setSpatialFilter(AimsEnvelope env)
Sets the spatial query for the filter using an envelope. |
void |
setSpatialFilter(AimsPoint pt)
Sets the spatial query for the filter using a point. |
void |
setSpatialFilter(AimsPoint pt,
AimsMap map,
double percent)
Sets the spatial query for the filter using an envelope that is a percentage of the map extent. |
void |
setSpatialFilter(AimsShapeObject shape)
Sets the spatial query for the filter using a shape. |
void |
setSpatialFilter(AimsSpatialFilter spatialFilter)
Sets the spatial query for the filter. |
void |
setSubfields(java.lang.String subflds)
Set the list of fields to be extracted |
void |
setWhereExpression(java.lang.String where)
Set the where part of SQL. |
java.lang.String |
toAxlString()
Returns the AXL string to refresh this object. |
java.lang.String |
toAxlString(AimsEnvironment env)
Returns the AXL string to refresh this object. |
java.lang.String |
toAxlString(AimsEnvironment env,
AimsRecordset rs)
Returns the AXL string to refresh this object. |
java.lang.String |
toAxlString(java.lang.String requestType,
AimsEnvironment env,
AimsRecordset rs)
Returns the AXL string to refresh this object. |
java.lang.String |
toString()
Returns a text representation of of this class. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public AimsFilter()
| Method Detail |
public java.lang.Object clone()
public void setAccuracy(int accuracy)
accuracy - The filter accuracypublic AimsBuffer getBuffer()
public void setBuffer(AimsBuffer buffer)
buffer - A buffer used by the filter.public void setFeatureCoordsys(AimsCoordsys coordsys)
coordsys - The feature coordsys used by the filter.public void setFilterCoordsys(AimsCoordsys coordsys)
coordsys - The filter coordsys used by the filter.public void setSearchOrder(java.lang.String order)
order - The search order stringpublic void setJoinExpression(java.lang.String join)
join - e.g.: "To=[master table column which will be used for joining],
From=[defines a join table column which will be joined],
Type=[exact or scan]". Note that the join expression is
automatically escaped before it is sent to the map server.public void setJoinTables(java.lang.String jointab)
jointab - List of joined table names separated by blank spaces;
for ArcSDE, table name is full name including database name (e.g., DATA.STATE);
for shapefiles, names of DBF files without extension (e.g.,STATES).public void setSubfields(java.lang.String subflds)
subflds - List of fields to be extracted separated by blank space.
If subfields is not used, all fields are returned. If it is used, only
listed fields are returned.public java.lang.String getWhereExpression()
public AimsSpatialFilter getSpatialFilter()
public void setWhereExpression(java.lang.String where)
where - Defines where part of SQL expression. Required when jointable
attribute for ArcSDE tables is used. Note that the where expression is
automatically escaped before it is sent to the map server.public void setSpatialFilter(AimsSpatialFilter spatialFilter)
spatialFilter - An AimsSpatialFilter object.public void setSpatialFilter(AimsShapeObject shape)
shape - A shape object to use to select features. An AimsSpatialFilter
object will be created from the specified shape.public void setSpatialFilter(AimsEnvelope env)
env - A shape object to use to select features. An AimsSpatialFilter
object will be created from the specified shape.public void setSpatialFilter(AimsPoint pt)
pt - A shape object to use to select features. An AimsSpatialFilter
object will be created from the specified shape.
public void setSpatialFilter(AimsPoint pt,
AimsMap map,
double percent)
pt - An AimsPoint to use as the selection envelope centre.map - An AimsMap object to get the extent from.percent - The width of the envelope as a percent of the map extent.public java.lang.String toString()
public java.lang.String toAxlString()
toAxlString in interface AimsAxlObjectpublic java.lang.String toAxlString(AimsEnvironment env)
env - The environment object containing coordinate separators and
other information used to output the correct AXL request.
public java.lang.String toAxlString(AimsEnvironment env,
AimsRecordset rs)
env - The environment object containing coordinate separators and
other information used to output the correct AXL request.rs - The recordset object, used for combining filters.
public java.lang.String toAxlString(java.lang.String requestType,
AimsEnvironment env,
AimsRecordset rs)
env - The environment object containing coordinate separators and
other information used to output the correct AXL request.rs - The recordset object, used for combining filters.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||