|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPlaceNameAlias
Provides access to memebers that specify a place name alias table.
Place name alias tables store aliases for addresses, such as “City Hall”, so that you can geocode addresses using alias names rather than addresses.
When using the IPlaceNameAlias interface to specify the place name alias table for a locator, only set the writeable properties immediately one after the other. Setting some of these properties, such as the Table property, can place the locator object in a state which can cause some of the readable properties and methods on the locator to raise errors until the other writeable properties on this interface are set.
Use the IPlaceNameAlias interface to specify a table that the locator will use as a place name alias table.
Method Summary | |
---|---|
String |
getAliasField()
Name of the alias field. |
Object |
getDefaultAliasFieldNames()
Recognized names for the address fields in the place name alias table. |
ITableName |
getTable()
Name object for the place name alias table. |
String |
IPlaceNameAlias_getAddressFields()
Names of the address fields. |
void |
setAddressFields(String fieldList)
Names of the address fields. |
void |
setAliasField(String name)
Name of the alias field. |
void |
setDefaultAliasFieldNames(Object names)
Recognized names for the address fields in the place name alias table. |
void |
setTableByRef(ITableName name)
Name object for the place name alias table. |
Method Detail |
---|
ITableName getTable() throws IOException, AutomationException
Locators can use place name alias tables during the geocoding process. A place name alias table is a table that contains place names (for example, "City Hall"), and the addresses for those places. When geocoding, the locator searches the place name alias table for matches to the input address. If a match is found, then locator replaces the input address with the corresponding address from the place name alias table. In this way, you can geocode addresses by place name, without having to know the proper street address for those places.
The Table property returns a reference to a TableName object representing the place name alias table.
When using the IPlaceNameAlias interface to specify the place name alias table for a locator, only set the writeable properties immediately one after the other. Setting some of these properties, such as the Table property, can place the locator object in a state which can cause some of the readable properties and methods on the locator to raise errors until the other writeable properties on this interface are set.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setTableByRef(ITableName name) throws IOException, AutomationException
name
- A reference to a com.esri.arcgis.geodatabase.ITableName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getAliasField() throws IOException, AutomationException
The AliasField property returns the name of the field in the place name alias table that contains the place name aliases.
When using the IPlaceNameAlias interface to specify the place name alias table for a locator, only set the writeable properties immediately one after the other. Setting some of these properties, such as the Table property, can place the locator object in a state which can cause some of the readable properties and methods on the locator to raise errors until the other writeable properties on this interface are set.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setAliasField(String name) throws IOException, AutomationException
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String IPlaceNameAlias_getAddressFields() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setAddressFields(String fieldList) throws IOException, AutomationException
fieldList
- The fieldList (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.Object getDefaultAliasFieldNames() throws IOException, AutomationException
The DefaultAliasFieldNames property is an array of strings containing recognized field names for the alias field in a place name alias table. You can use the contents of this array to search through your place name alias table to determine which field contains the place name alias information. If the locator contains no default alias field names, calling this property returns an error.
When using the IPlaceNameAlias interface to specify the place name alias table for a locator, only set the writeable properties immediately one after the other. Setting some of these properties, such as the Table property, can place the locator object in a state which can cause some of the readable properties and methods on the locator to raise errors until the other writeable properties on this interface are set.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setDefaultAliasFieldNames(Object names) throws IOException, AutomationException
names
- A Variant (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 |