|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.arcgis.location.GenericLocatorStyle
A generic style for creating a new locator.
| Constructor Summary | |
GenericLocatorStyle()
Constructs a GenericLocatorStyle using ArcGIS Engine. |
|
GenericLocatorStyle(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. |
|
| Method Summary | |
void |
assign(IClone src)
Assigns the properties of src to the receiver. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone. |
void |
getAllProperties(java.lang.Object[] names,
java.lang.Object[] values)
The name and value of all the properties in the property set. |
IClone |
getAsIClone()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
ILocator |
getAsILocator()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
ILocatorStyle |
getAsILocatorStyle()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IPropertySet |
getAsIPropertySet()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
ISupportErrorInfo |
getAsISupportErrorInfo()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
java.lang.String |
getCategory()
Category of the locator. |
static java.lang.String |
getClsid()
|
int |
getCount()
The number of properties contained in the property set. |
java.lang.String |
getDescription()
Description of the locator. |
java.lang.String |
getName()
Name of the locator. |
void |
getProperties(java.lang.Object names,
java.lang.Object[] values)
The values of the specified properties. |
java.lang.Object |
getProperty(java.lang.String name)
The value of the specified property. |
ILocatorUI |
getUserInterface()
User interface for the locator. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
Supported Platforms |
boolean |
isEqual(IClone other)
Returns TRUE when the receiver and other have the same properties. |
boolean |
isEqual(IPropertySet propertySet)
True if the property set is the same as the input property set. |
boolean |
isIdentical(IClone other)
Returns TRUE when the receiver and other are the same object. |
void |
removeProperty(java.lang.String name)
Removes a property from the set. |
void |
setDescription(java.lang.String description)
Description of the locator. |
void |
setProperties(java.lang.Object names,
java.lang.Object values)
The values of the specified properties. |
void |
setProperty(java.lang.String name,
java.lang.Object value)
The value of the specified property. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GenericLocatorStyle()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems
public GenericLocatorStyle(java.lang.Object obj)
throws java.io.IOException
obj to GenericLocatorStyle. GenericLocatorStyle theGenericLocatorStyle = (GenericLocatorStyle) obj;
obj - an object returned from ArcGIS Engine or Server
java.io.IOException - if there are interop problems| Method Detail |
public static java.lang.String getClsid()
public ILocator getAsILocator()
public ILocatorStyle getAsILocatorStyle()
public IPropertySet getAsIPropertySet()
public IClone getAsIClone()
public ISupportErrorInfo getAsISupportErrorInfo()
public boolean equals(java.lang.Object o)
public int hashCode()
public java.lang.String getName()
throws java.io.IOException,
AutomationException
ILocatorLocators and locator styles stored in an ArcSDE locator workspace are prefixed by the name of the ArcSDE user that owns the locator styles, as in "SDE.US Streets with Zone".
getName in interface ILocatorAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public java.lang.String getDescription()
throws java.io.IOException,
AutomationException
ILocator
getDescription in interface ILocatorjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDescription(java.lang.String description)
throws java.io.IOException,
AutomationException
ILocator
setDescription in interface ILocatordescription - The description (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public java.lang.String getCategory()
throws java.io.IOException,
AutomationException
ILocatorThe Category property returns a string indicating the category to which the locator belongs. There are two categories that are defined for locators provided with ArcGIS:
getCategory in interface ILocatorAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public ILocatorUI getUserInterface()
throws java.io.IOException,
AutomationException
ILocatorThe UserInterface property returns an object that you can use to display the user interfaces for the locator.
getUserInterface in interface ILocatorjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getCount()
throws java.io.IOException,
AutomationException
IPropertySetThe Count value will always be one when used with the XmlPropertySet CoClass. To determine the number of occurances of a metadata element use IXmlPropertySet::CountX
getCount in interface IPropertySetAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.com.esri.arcgis.geodatabase.IXmlPropertySet#,
com.esri.arcgis.geodatabase.IXmlPropertySet2#
public java.lang.Object getProperty(java.lang.String name)
throws java.io.IOException,
AutomationException
IPropertySetThe Name parameter uses XSL Patterns to specify metadata elements. Additional information on XSL can be found in the the IXmlPropertySet documentation.
getProperty in interface IPropertySetname - The name (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.com.esri.arcgis.system.IPropertySet#getProperties(java.lang.Object, [Ljava.lang.Object;),
com.esri.arcgis.system.IPropertySet#getAllProperties([Ljava.lang.Object;, [Ljava.lang.Object;)
public void getProperties(java.lang.Object names,
java.lang.Object[] values)
throws java.io.IOException,
AutomationException
IPropertySetThe GetProperties method returns values from a PropertySet CoClass.
The Name parameter for the GetProperties method uses XSL Patterns. More information is available through the IXmlPropertySet documentation.
getProperties in interface IPropertySetnames - A Variant (in)values - A Variant (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.IPropertySet.getProperty(java.lang.String),
com.esri.arcgis.system.IPropertySet#getAllProperties([Ljava.lang.Object;, [Ljava.lang.Object;)
public void getAllProperties(java.lang.Object[] names,
java.lang.Object[] values)
throws java.io.IOException,
AutomationException
IPropertySetThe GetAllProperties retrieves all names and values in the property set.
The Name parameter for the GetAllProperties method uses XSL Patterns. More information is available through the IXmlPropertySet documentation.
getAllProperties in interface IPropertySetnames - A Variant (out: use single element array)values - A Variant (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.IPropertySet.getProperty(java.lang.String),
com.esri.arcgis.system.IPropertySet#getProperties(java.lang.Object, [Ljava.lang.Object;)
public void setProperty(java.lang.String name,
java.lang.Object value)
throws java.io.IOException,
AutomationException
IPropertySet
setProperty in interface IPropertySetname - The name (in)value - A Variant (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setProperties(java.lang.Object names,
java.lang.Object values)
throws java.io.IOException,
AutomationException
IPropertySet
setProperties in interface IPropertySetnames - A Variant (in)values - A Variant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isEqual(IPropertySet propertySet)
throws java.io.IOException,
AutomationException
IPropertySet
isEqual in interface IPropertySetpropertySet - A reference to a com.esri.arcgis.system.IPropertySet (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void removeProperty(java.lang.String name)
throws java.io.IOException,
AutomationException
IPropertySetThe Name parameter uses XSL Patterns to specify metadata elements. Additional information on XSL can be found in the the IXmlPropertySet documentation.
If the Name parameter specifies an node that contains several elements, all sub-nodes will also be removed. In the image below setting the Name parameter equal to "metainfo/metc/cntinfo" will remove all the ESRI contact information between the highlighted elements.

removeProperty in interface IPropertySetname - The name (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.IXmlPropertySet.deletePropertyByAttribute(java.lang.String, java.lang.String, boolean)
public IClone esri_clone()
throws java.io.IOException,
AutomationException
IClone
esri_clone in interface IClonejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void assign(IClone src)
throws java.io.IOException,
AutomationException
IClone
assign in interface IClonesrc - A reference to a com.esri.arcgis.system.IClone (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isEqual(IClone other)
throws java.io.IOException,
AutomationException
IClone
isEqual in interface ICloneother - A reference to a com.esri.arcgis.system.IClone (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isIdentical(IClone other)
throws java.io.IOException,
AutomationException
IClone
isIdentical in interface ICloneother - A reference to a com.esri.arcgis.system.IClone (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void interfaceSupportsErrorInfo(GUID riid)
throws java.io.IOException,
AutomationException
ISupportErrorInfoIndicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo in interface ISupportErrorInforiid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||