|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.location.GenericLocatorStyle
public class GenericLocatorStyle
A generic style for creating a new locator.
Constructor Summary | |
---|---|
GenericLocatorStyle()
Constructs a GenericLocatorStyle using ArcGIS Engine. |
|
GenericLocatorStyle(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. GenericLocatorStyle theGenericLocatorStyle = (GenericLocatorStyle) obj; |
Method Summary | |
---|---|
void |
assign(IClone src)
Assigns the properties of src to the receiver. |
boolean |
equals(Object o)
Compare this object with another |
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone. |
void |
getAllProperties(Object[] names,
Object[] values)
The name and value of all the properties in the property set. |
String |
getCategory()
Category of the locator. |
static String |
getClsid()
getClsid. |
int |
getCount()
The number of properties contained in the property set. |
String |
getDescription()
Description of the locator. |
String |
getName()
Name of the locator. |
void |
getProperties(Object names,
Object[] values)
The values of the specified properties. |
Object |
getProperty(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)
interfaceSupportsErrorInfo |
boolean |
isEqual(IClone other)
Indicates if 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)
Indicates if the receiver and other are the same object. |
void |
removeProperty(String name)
Removes a property from the set. |
void |
setDescription(String description)
Description of the locator. |
void |
setProperties(Object names,
Object values)
The values of the specified properties. |
void |
setProperty(String name,
Object value)
The value of the specified property. |
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 GenericLocatorStyle() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic GenericLocatorStyle(Object obj) throws IOException
GenericLocatorStyle theGenericLocatorStyle = (GenericLocatorStyle) obj;
obj
to GenericLocatorStyle
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String getName() throws IOException, AutomationException
Locators 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 ILocator
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getDescription() throws IOException, AutomationException
getDescription
in interface ILocator
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDescription(String description) throws IOException, AutomationException
setDescription
in interface ILocator
description
- The description (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getCategory() throws IOException, AutomationException
The 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 ILocator
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILocatorUI getUserInterface() throws IOException, AutomationException
The UserInterface property returns an object that you can use to display the user interfaces for the locator.
getUserInterface
in interface ILocator
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getCount() throws IOException, AutomationException
The Count value will always be one when used with the esriGeodatabase.XmlPropertySet coclass. For more information, see the remarks for the XmlPropertySet coclass.
getCount
in interface IPropertySet
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.com.esri.arcgis.system.IXmlPropertySet
,
com.esri.arcgis.system.IXmlPropertySet2
public Object getProperty(String name) throws IOException, AutomationException
getProperty
in interface IPropertySet
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IPropertySet.getProperties(java.lang.Object, Object[])
,
IPropertySet.getAllProperties(Object[], Object[])
public void getProperties(Object names, Object[] values) throws IOException, AutomationException
The GetProperties method returns values from a PropertySet CoClass.
getProperties
in interface IPropertySet
names
- A Variant (in)values
- A Variant (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IPropertySet.getAllProperties(Object[], Object[])
,
IPropertySet.getProperty(String)
public void getAllProperties(Object[] names, Object[] values) throws IOException, AutomationException
The GetAllProperties retrieves all names and values in the property set.
getAllProperties
in interface IPropertySet
names
- A Variant (out: use single element array)values
- A Variant (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IPropertySet.getProperties(java.lang.Object, Object[])
,
IPropertySet.getProperty(String)
public void setProperty(String name, Object value) throws IOException, AutomationException
The Name parameter uses XSL Patterns to specify metadata elements. Additional information on XSL can be found in the the IXmlPropertySet documentation.
setProperty
in interface IPropertySet
name
- The name (in)value
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.com.esri.arcgis.system.IXmlPropertySet
,
com.esri.arcgis.system.IXmlPropertySet2
,
IPropertySet.setProperties(java.lang.Object, java.lang.Object)
public void setProperties(Object names, Object values) throws IOException, AutomationException
Using the Name parameter to locate the specified element, the SetProperties method populates the elements, or adds an new element if it already exists, and sets the value to the coorseponding Values parameter.
The Name parameter uses XSL Patterns to specify metadata elements. Additional information on XSL can be found in the the IXmlPropertySet documentation.
esriXmlSetPropertyAction constants are NOT available to handle situations where an element value already exists. Upon encountering elements that already have values, the new values will replace or add values to existing elements. For more control dealing with elements the IXmlPropertySet::SetPropertyX should be used.
In order to populated nodes further along in the Xml tree, nodes necessary to navigate must first be established. For instance in order to populate the "idinfo/ptcontact/cntinfo/cntperp/cntorg" node each subsequent nodes, "idinfo", "idinfo/ptcontact", "idinfo/ptcontact/cntinfo" and "idinfo/ptcontact/cntinfo/cntperp" must already be in place.
setProperties
in interface IPropertySet
names
- A Variant (in)values
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IPropertySet.setProperty(String, java.lang.Object)
,
com.esri.arcgis.system.IXmlPropertySet
,
This method is not interop compliant and hence unsupported in Java. Use setProperty() instead.
public boolean isEqual(IPropertySet propertySet) throws IOException, AutomationException
This method indicates whether two property sets are equal.
Note that it will always return false if the property set is an esriGeodatabase.XmlPropertySet (for metadata). See the XmlPropertySet coclass' documentation for more information.
isEqual
in interface IPropertySet
propertySet
- 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 removeProperty(String name) throws IOException, AutomationException
removeProperty
in interface IPropertySet
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.com.esri.arcgis.system.IXmlPropertySet
public IClone esri_clone() throws IOException, AutomationException
esri_clone
in interface IClone
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void assign(IClone src) throws IOException, AutomationException
assign
in interface IClone
src
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isEqual(IClone other) throws IOException, AutomationException
IsEqual returns True if the receiver and the source have the same properties. Note, this does not imply that the receiver and the source reference the same object.
isEqual
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isIdentical(IClone other) throws IOException, AutomationException
IsIdentical returns true if the receiver and the source reference the same object.
isIdentical
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws IOException, AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (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 |