|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.location.LocatorWorkspaceName
public class LocatorWorkspaceName
A locator workspace description.
A LocatorWorkspaceName is a lightweight object that represents a locator workspace.
ILocatorWorkspace2,
ILocatorManager2,
DatabaseLocatorWorkspace,
ILocatorWorkspace,
ILocatorManager.getLocatorWorkspaceFromPath(String),
LocatorEnumerator,
ILocatorWorkspaceName2,
LocatorWorkspaceName,
IDatabaseLocatorWorkspace,
LocalLocatorWorkspace,
ILocatorManager,
LocatorManager,
ILocatorWorkspaceName,
Serialized Form| Constructor Summary | |
|---|---|
LocatorWorkspaceName()
Constructs a LocatorWorkspaceName using ArcGIS Engine. |
|
LocatorWorkspaceName(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. LocatorWorkspaceName theLocatorWorkspaceName = (LocatorWorkspaceName) obj; |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Compare this object with another |
IAGSServerConnectionName |
getAGSServerConnectionName()
The name of the ArcGIS server connection that contains the locator workspace. |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
String |
getNameString()
The name string of the object. |
String |
getPath()
The path to the folder that contains the locator workspace. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
int |
getType()
The type of locator workspace. |
IWorkspaceName |
getWorkspaceName()
The Name object for the ArcSDE workspace that contains the locator workspace. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
void |
isDirty()
isDirty |
void |
load(IStream pstm)
load |
Object |
open()
Opens the object referred to by this name. |
void |
readExternal(ObjectInput in)
|
void |
save(IStream pstm,
int fClearDirty)
save |
void |
setAGSServerConnectionNameByRef(IAGSServerConnectionName serverConnection)
The name of the ArcGIS server connection that contains the locator workspace. |
void |
setNameString(String nameString)
The name string of the object. |
void |
setPath(String path)
The path to the folder that contains the locator workspace. |
void |
setWorkspaceNameByRef(IWorkspaceName wksName)
The Name object for the ArcSDE workspace that contains the locator workspace. |
void |
writeExternal(ObjectOutput out)
|
| 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 LocatorWorkspaceName()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public LocatorWorkspaceName(Object obj)
throws IOException
LocatorWorkspaceName theLocatorWorkspaceName = (LocatorWorkspaceName) obj;
obj to LocatorWorkspaceName.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public void setNameString(String nameString)
throws IOException,
AutomationException
The NameString property is reserved for future use. When implemented, it will return a string representation of the locational component of the name object that may be persisted by applications.
setNameString in interface INamenameString - The nameString (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getNameString()
throws IOException,
AutomationException
The NameString property is reserved for future use. When implemented, it will return a string representation of the locational component of the name object that may be persisted by applications.
getNameString in interface INameIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object open()
throws IOException,
AutomationException
The Open method lets you instantiate the actual object given the name object.
Note: Opening a feature class that participates in a topology or geometric network will also open all other feature classes participating in the topology or geometric network in memory.
IName pName = pFeatureClassName;
pFeatureClass = new IFeatureClassProxy(pName.open());
open in interface INameIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getPath()
throws IOException,
AutomationException
If the locator workspace represented by the LocatorWorkspaceName object is a file system locator workspace, then the Path property returns the path to the file system folder that contains the locator workspace. The value returned by the Path property depends on the value returned by the Type property, as shown in the following table:
| If the value of the Type property is: | then the Path property returns: |
|---|---|
| esriLocalSystemLocatorWorkspace | an empty string |
| esriFileSystemLocatorWorkspace | the path to the file system folder that contains the locator workspace |
getPath in interface ILocatorWorkspaceNameIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPath(String path)
throws IOException,
AutomationException
setPath in interface ILocatorWorkspaceNamepath - The path (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IWorkspaceName getWorkspaceName()
throws IOException,
AutomationException
The WorkspaceName property returns a WorkspaceName object that represents the ArcSDE workspace that contains the locator workspace represented by the LocatorWorkspaceName object. Use the Type property to determine if the locator workspace is an ArcSDE locator workspace before using this property.
getWorkspaceName in interface ILocatorWorkspaceNameIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setWorkspaceNameByRef(IWorkspaceName wksName)
throws IOException,
AutomationException
setWorkspaceNameByRef in interface ILocatorWorkspaceNamewksName - A reference to a com.esri.arcgis.geodatabase.IWorkspaceName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getType()
throws IOException,
AutomationException
The Type property returns a value from the esriLocatorWorkspaceType enumeration that indicates the type of locator workspace that the LocatorWorkspaceName object represents.
getType in interface ILocatorWorkspaceNameIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.ILocatorWorkspaceName.getType(),
esriLocatorWorkspaceType
public IAGSServerConnectionName getAGSServerConnectionName()
throws IOException,
AutomationException
Returns an AGSServerConnectionName object that represents the ArcGIS Server connection that contains the locator workspace.
If the locator workspace represented by the LocatorWorkspaceName object represents a locator workspace from an ArcGIS Server, this property returns a reference to an ArcGISServerConnectionName object that represents the ArcGIS Server connection.
getAGSServerConnectionName in interface ILocatorWorkspaceName2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.IEnumServerObjectType,
AGSLocatorWorkspace,
IEnumServerObjectTypeInfo,
GeocodeServer,
ILocatorManager2.getAGSLocatorWorkspace(com.esri.arcgis.gisclient.IAGSServerConnectionName),
ServerObject,
ILocatorWorkspaceName2.getAGSServerConnectionName(),
AGSAddressLocator
public void setAGSServerConnectionNameByRef(IAGSServerConnectionName serverConnection)
throws IOException,
AutomationException
setAGSServerConnectionNameByRef in interface ILocatorWorkspaceName2serverConnection - A reference to a com.esri.arcgis.gisclient.IAGSServerConnectionName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void isDirty()
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty in interface IPersistStreamIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void load(IStream pstm)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void save(IStream pstm,
int fClearDirty)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)fClearDirty - The fClearDirty (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax in interface IPersistStreampcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getClassID(GUID[] pClassID)
throws IOException,
AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID in interface IPersistpClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
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 ISupportErrorInforiid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||