public class XMLAttributes extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IXMLAttributes
Description 'A collection of XML element attributes.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
IID, IID3e23a49e_9f66_42d5_9982_5e3e5c0821e0, xxDummy| Constructor and Description |
|---|
XMLAttributes()
Constructs a XMLAttributes using ArcGIS Engine.
|
XMLAttributes(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
XMLAttributes theXMLAttributes = (XMLAttributes) obj; |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttribute(java.lang.String localName,
java.lang.String namespaceURI,
java.lang.String value)
Adds an attribute to the element.
|
void |
deleteAttribute(java.lang.String localName,
java.lang.String namespaceURI)
Deletes an attribute from the element.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
int |
findAttribute(java.lang.String localName,
java.lang.String namespaceURI)
Finds an attribute by name and namespace.
|
int |
getAttributeCount()
Number of attributes.
|
static java.lang.String |
getClsid()
getClsid.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
java.lang.String |
getLocalName(int index)
Name of the attribute.
|
java.lang.String |
getNamespaceURI(int index)
Namespace of the attribute.
|
java.lang.String |
getValue(int index)
Value of the attribute.
|
int |
hashCode()
the hashcode for this object
|
void |
release()
Release this COM object reference
|
public XMLAttributes()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problemsjava.net.UnknownHostException - if there are interop problemspublic XMLAttributes(java.lang.Object obj)
throws java.io.IOException
XMLAttributes theXMLAttributes = (XMLAttributes) obj;obj to XMLAttributes.obj - an object returned from ArcGIS Engine or Serverjava.io.IOException - if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRefpublic void addAttribute(java.lang.String localName,
java.lang.String namespaceURI,
java.lang.String value)
throws java.io.IOException,
AutomationException
addAttribute in interface IXMLAttributeslocalName - The localName (in)namespaceURI - The namespaceURI (in)value - The value (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void deleteAttribute(java.lang.String localName,
java.lang.String namespaceURI)
throws java.io.IOException,
AutomationException
deleteAttribute in interface IXMLAttributeslocalName - The localName (in)namespaceURI - The namespaceURI (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int findAttribute(java.lang.String localName,
java.lang.String namespaceURI)
throws java.io.IOException,
AutomationException
findAttribute in interface IXMLAttributeslocalName - The localName (in)namespaceURI - The namespaceURI (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getAttributeCount()
throws java.io.IOException,
AutomationException
getAttributeCount in interface IXMLAttributesjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getLocalName(int index)
throws java.io.IOException,
AutomationException
getLocalName in interface IXMLAttributesindex - The index (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getNamespaceURI(int index)
throws java.io.IOException,
AutomationException
getNamespaceURI in interface IXMLAttributesindex - The index (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getValue(int index)
throws java.io.IOException,
AutomationException
getValue in interface IXMLAttributesindex - The index (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.