com.esri.arcgis.geodatabase
Class XMLIndexTags

java.lang.Object
  extended by com.esri.arcgis.geodatabase.XMLIndexTags
All Implemented Interfaces:
IXMLIndexTags, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class XMLIndexTags
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IXMLIndexTags

XML Index Tags Collection Object.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
XMLIndexTags()
          Constructs a XMLIndexTags using ArcGIS Engine.
XMLIndexTags(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
XMLIndexTags theXMLIndexTags = (XMLIndexTags) obj;
 
Method Summary
 void add(IXMLIndexTag tag)
          Add a tag to the collection.
 boolean equals(Object o)
          Compare this object with another
 void find(String tagName, int[] tagIndex)
          Find a tag in the collection by name.
static String getClsid()
          getClsid.
 IXMLIndexTag getTag(int tagIndex)
          A tag by position in the collection.
 int getTagCount()
          The number of tags in the collection.
 int hashCode()
          the hashcode for this object
 void remove(IXMLIndexTag tag)
          Remove a tag from the collection.
 void removeAll()
          Remove all tags from the collection.
 
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

XMLIndexTags

public XMLIndexTags()
             throws IOException,
                    UnknownHostException
Constructs a XMLIndexTags using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

XMLIndexTags

public XMLIndexTags(Object obj)
             throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
XMLIndexTags theXMLIndexTags = (XMLIndexTags) obj;

Construct a XMLIndexTags using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to XMLIndexTags.

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

getClsid

public static String getClsid()
getClsid.


equals

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

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

getTagCount

public int getTagCount()
                throws IOException,
                       AutomationException
The number of tags in the collection.

Product Availability

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

Specified by:
getTagCount in interface IXMLIndexTags
Returns:
The count
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTag

public IXMLIndexTag getTag(int tagIndex)
                    throws IOException,
                           AutomationException
A tag by position in the collection.

Product Availability

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

Specified by:
getTag in interface IXMLIndexTags
Parameters:
tagIndex - The tagIndex (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IXMLIndexTag
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

find

public void find(String tagName,
                 int[] tagIndex)
          throws IOException,
                 AutomationException
Find a tag in the collection by name.

Product Availability

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

Specified by:
find in interface IXMLIndexTags
Parameters:
tagName - The tagName (in)
tagIndex - The tagIndex (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

add

public void add(IXMLIndexTag tag)
         throws IOException,
                AutomationException
Add a tag to the collection.

Product Availability

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

Specified by:
add in interface IXMLIndexTags
Parameters:
tag - A reference to a com.esri.arcgis.geodatabase.IXMLIndexTag (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

remove

public void remove(IXMLIndexTag tag)
            throws IOException,
                   AutomationException
Remove a tag from the collection.

Product Availability

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

Specified by:
remove in interface IXMLIndexTags
Parameters:
tag - A reference to a com.esri.arcgis.geodatabase.IXMLIndexTag (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeAll

public void removeAll()
               throws IOException,
                      AutomationException
Remove all tags from the collection.

Product Availability

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

Specified by:
removeAll in interface IXMLIndexTags
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.