|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.aims.mtier.model.map.layer.geocode.AddressMatchInputs
public class AddressMatchInputs
This class is used to add address values that are in turn used to
process geocoding against. After geocode is processed,
the results can be accessed with the getAddressMatchResults
method.
This class supports geocoding styles, types, and labels.
Field Summary | |
---|---|
static String |
DECIMAL_DEGREES
|
static String |
FEET
|
static String |
METERS
|
Constructor Summary | |
---|---|
AddressMatchInputs()
Constructs an instance of an AddressMatchInputs object. |
Method Summary | |
---|---|
boolean |
addDescription(String value)
Adds this AddressMatchInputs description field to the description collection. |
boolean |
addID(String value)
Sets the given ID for this AddressMatchInputs object. |
boolean |
addLabel(String value)
Adds the given geocode label field to the labels collection. |
boolean |
addType(String value)
Adds the given AddressMatchInputs type field to the type collection. |
boolean |
addValues(String value)
Sets the given input values to this AddressMatchInputs object,
which is based on the ArcXML geocoding inputs. |
boolean |
addWidth(String value)
Adds the given AddressMatchInputs width field to the width collection. |
void |
clear()
Clears the values collection associated with this AddressMatchInputs object. |
AddressMatchResults |
getAddressMatchResults()
Returns the AddressMatchResults object associated with this
AddressMatchInputs object. |
String |
getDescription()
Returns the AddressMatchInputs description field by current location. |
double |
getEndOffset()
Returns the end offset geocoding style used for a layer. |
FeatureCoordSys |
getFeatureCoordSys()
Returns the FeatureCoordSys object associated with this AddressMatchInputs object. |
String |
getID()
Returns the object ID based on the current location in collection. |
String |
getLabel()
Returns the geocoding label associated with this AddressMatchInputs object. |
long |
getMaxCandidates()
Returns the maximum number of result candidates value. |
long |
getMinScore()
Returns the minimum geocode scoring value. |
double |
getSideOffset()
Returns the side offset for geocoded features. |
String |
getSideOffsetUnits()
Returns the side offset units. |
int |
getSpellingSensitivity()
Returns the spelling sensitivity value. |
String |
getStyle()
Returns the geocoding style associated with this AddressMatchInputs object. |
String |
getType()
Returns the type field associated with this AddressMatchInputs object. |
String |
getValue()
Returns the values associated with this AddressMatchInputs object
from the values collection at the current index location. |
int |
getValuesCount()
Returns the count of all values in the collection. |
String |
getWidth()
Returns this AddressMatchInputs width field from the width collection. |
boolean |
moveFirst()
Moves to the first input in the AddressMatchInputs object. |
boolean |
moveLast()
Moves to the last input in the AddressMatchInputs object. |
boolean |
moveNext()
Moves onto the next input to the AddressMatchInputs object. |
boolean |
movePrevious()
Moves to the previous input in the AddressMatchInputs object. |
void |
setAddressMatchResults(AddressMatchResults object)
Sets the given AddressMatchResults object to this
AddressMatchInputs object. |
void |
setEndOffset(double value)
|
void |
setFeatureCoordSys(FeatureCoordSys obj)
Sets the given FeatureCoordSys object to this AddressMatchInputs object. |
void |
setMaxCandidates(long value)
Sets the maximum number of result candidates to be returned. |
void |
setMinScore(long value)
Sets the minimum geocode scoring value. |
void |
setSideOffset(double value)
|
void |
setSideOffsetUnits(String value)
|
void |
setSpellingSensitivity(int value)
Controls how much variation the geocoding service allows when it searches for likely candidates in the reference data. |
void |
setStyle(String value)
Sets the geocoding style to be used. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String DECIMAL_DEGREES
public static final String FEET
public static final String METERS
Constructor Detail |
---|
public AddressMatchInputs()
AddressMatchInputs
object.
AddressMatchInputs addressMatchInputs = new AddressMatchInputs();
Method Detail |
---|
public boolean addID(String value)
AddressMatchInputs
object. Returns True,
if successful. Example:
addressMatchInputs.setID("AddMatchInputs-1");
value
- the ID string.
getID()
public String getID()
String id = addressMatchInputs.getID();
addID(java.lang.String)
public boolean addValues(String value)
AddressMatchInputs
object,
which is based on the ArcXML geocoding inputs.
Example: addressMatchInputs.addValues("195 South Center");
value
- the input string.
getValue()
public String getValue()
AddressMatchInputs
object
from the values collection at the current index location.
Example: String value = addressMatchInputs.getValue();
public int getValuesCount()
int count = addressMatchInputs.getValuesCount();
public void setStyle(String value)
Gets set by the response from the ArcIMS Application Server.
value
- the style to be used.getStyle()
public String getStyle()
AddressMatchInputs
object.
ArcIMS supports 10 standard address styles. They are:
setStyle(java.lang.String)
public void setAddressMatchResults(AddressMatchResults object)
AddressMatchResults
object to this
AddressMatchInputs
object.
Example: String style = addressMatchInputs.getStyle();
object
- the AddressMatchResults object.getAddressMatchResults()
public AddressMatchResults getAddressMatchResults()
AddressMatchResults
object associated with this
AddressMatchInputs
object.
Example: addressMatchInputs.getAddressMatchResults().getCount();
setAddressMatchResults(com.esri.aims.mtier.model.map.layer.geocode.AddressMatchResults)
public void clear()
AddressMatchInputs
object.
Example: addressMatchInputs.clear();
public boolean addLabel(String value)
Gets set by the response from the ArcIMS Application Server.
value
- the geocode label field.
getLabel()
public String getLabel()
AddressMatchInputs
object.
Example: String label = addressMatchInputs.getLabel();
addLabel(java.lang.String)
public boolean addDescription(String value)
Descriptions are added by the response from the ArcIMS Application Server.
value
- the geocode description field.
getDescription()
public String getDescription()
String description = addressMatchInputs.getDescription();
addDescription(java.lang.String)
public boolean addType(String value)
AddressMatchInputs
type field to the type collection.
Example: Types added by the response from the ArcIMS Application Server.
value
- the geocode type field.
getType()
public String getType()
AddressMatchInputs
object.
Example: String type = addressMatchInputs.getType();
AddressMatchInputs
type field as stringaddType(java.lang.String)
public boolean addWidth(String value)
value
- the geocode width field.
getWidth()
public String getWidth()
String width = addressMatchInputs.getWidth();
addWidth(java.lang.String)
public boolean moveNext()
addressMatchInputs.moveNext();
movePrevious()
,
moveLast()
,
moveFirst()
public boolean moveFirst()
addressMatchInputs.moveFirst();
moveLast()
,
moveNext()
,
movePrevious()
public boolean moveLast()
addressMatchInputs.moveLast();
moveFirst()
,
movePrevious()
,
moveNext()
public boolean movePrevious()
addressMatchInputs.movePrevious();
moveLast()
,
moveFirst()
,
moveNext()
public void setMaxCandidates(long value)
addressMatchInputs.setMaxCandidates(6);
value
- the maximum number of result candidates.getMaxCandidates()
public long getMaxCandidates()
long candidates = addressMatchInputs.getMaxCandidates();
setMaxCandidates(long)
public void setMinScore(long value)
addressMatchInputs.setMinScore(65);
value
- the minimum score value.getMinScore()
public long getMinScore()
long score = addressMatchInputs.getMinScore();
setMinScore(long)
public void setFeatureCoordSys(FeatureCoordSys obj)
FeatureCoordSys featureCoordSys = new FeatureCoordSys();
featureCoordSys.setID(4326);
addressMatchInputs.setFeatureCoordSys(featureCoordSys);
obj
- the FeatureCoordSys object to associate.public FeatureCoordSys getFeatureCoordSys()
FeatureCoordSys featureCoordSys = addressMatchInputs.getFeatureCoordSys();
public int getSpellingSensitivity()
public void setSpellingSensitivity(int value)
value
- the spelling sensitivity valuepublic double getEndOffset()
public double getSideOffset()
public String getSideOffsetUnits()
String
- the side offset unitspublic void setSideOffsetUnits(String value)
public void setSideOffset(double value)
public void setEndOffset(double value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |