com.esri.arcgis.geoprocessing
Class AGSCatalogPathParser

java.lang.Object
  extended bycom.esri.arcgis.geoprocessing.AGSCatalogPathParser
All Implemented Interfaces:
IParseNameString, IWorkspaceDataElements, java.io.Serializable

public class AGSCatalogPathParser
extends java.lang.Object
implements IParseNameString, IWorkspaceDataElements

ArcGIS Server Catalog Path Parser.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Constructor Summary
AGSCatalogPathParser()
          Constructs a AGSCatalogPathParser using ArcGIS Engine.
AGSCatalogPathParser(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
 
Method Summary
 boolean canParse(java.lang.String nameString)
          Indicates if the given name string can be parsed by this parser.
 boolean equals(java.lang.Object o)
          Compare this object with another
 IParseNameString getAsIParseNameString()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 IWorkspaceDataElements getAsIWorkspaceDataElements()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
static java.lang.String getClsid()
           
 IDataElement getDatasetDataElement(java.lang.Object pDatasetSpec, IDEBrowseOptions pBrowseOptions)
          Returns the data element for the in-bound dataset name or dataset object.
 IDataElement getWorkspaceDataElement(IDEBrowseOptions pBrowseOptions)
          The data element for the workspace.
 int hashCode()
          the hashcode for this object
 IName parse(java.lang.String nameString)
          Parses the name string and returns a new Name object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AGSCatalogPathParser

public AGSCatalogPathParser()
                     throws java.io.IOException,
                            java.net.UnknownHostException
Constructs a AGSCatalogPathParser using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

AGSCatalogPathParser

public AGSCatalogPathParser(java.lang.Object obj)
                     throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.

Construct a AGSCatalogPathParser using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to AGSCatalogPathParser.
AGSCatalogPathParser theAGSCatalogPathParser = (AGSCatalogPathParser) obj;

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()

getAsIParseNameString

public IParseNameString getAsIParseNameString()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsIWorkspaceDataElements

public IWorkspaceDataElements getAsIWorkspaceDataElements()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


equals

public boolean equals(java.lang.Object o)
Compare this object with another


hashCode

public int hashCode()
the hashcode for this object


canParse

public boolean canParse(java.lang.String nameString)
                 throws java.io.IOException,
                        AutomationException
Description copied from interface: IParseNameString
Indicates if the given name string can be parsed by this parser.

Supported Platforms

Windows, Solaris, Linux

Description

Indicates if the given string can be parsed by this parser. Use the CanParse method before using the Parse method.

Specified by:
canParse in interface IParseNameString
Parameters:
nameString - The nameString (in)
Returns:
The canParse
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

parse

public IName parse(java.lang.String nameString)
            throws java.io.IOException,
                   AutomationException
Description copied from interface: IParseNameString
Parses the name string and returns a new Name object.

Supported Platforms

Windows, Solaris, Linux

Description

Returns a new Name object by parsing the given string. Use the CanParse method first to ensure the string can be parsed.

Specified by:
parse in interface IParseNameString
Parameters:
nameString - The nameString (in)
Returns:
A reference to a com.esri.arcgis.system.IName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWorkspaceDataElement

public IDataElement getWorkspaceDataElement(IDEBrowseOptions pBrowseOptions)
                                     throws java.io.IOException,
                                            AutomationException
Description copied from interface: IWorkspaceDataElements
The data element for the workspace.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getWorkspaceDataElement in interface IWorkspaceDataElements
Parameters:
pBrowseOptions - A reference to a com.esri.arcgis.geodatabase.IDEBrowseOptions (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IDataElement
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getDatasetDataElement

public IDataElement getDatasetDataElement(java.lang.Object pDatasetSpec,
                                          IDEBrowseOptions pBrowseOptions)
                                   throws java.io.IOException,
                                          AutomationException
Description copied from interface: IWorkspaceDataElements
Returns the data element for the in-bound dataset name or dataset object.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getDatasetDataElement in interface IWorkspaceDataElements
Parameters:
pDatasetSpec - A reference to another Object (IUnknown) (in)
pBrowseOptions - A reference to a com.esri.arcgis.geodatabase.IDEBrowseOptions (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IDataElement
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.