|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.system.XMLAttributes
public class XMLAttributes
A collection of XML element attributes.
Constructor Summary | |
---|---|
XMLAttributes()
Constructs a XMLAttributes using ArcGIS Engine. |
|
XMLAttributes(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. XMLAttributes theXMLAttributes = (XMLAttributes) obj; |
Method Summary | |
---|---|
void |
addAttribute(String localName,
String namespaceURI,
String value)
Adds an attribute to the element. |
void |
deleteAttribute(String localName,
String namespaceURI)
Deletes an attribute from the element. |
boolean |
equals(Object o)
Compare this object with another |
int |
findAttribute(String localName,
String namespaceURI)
Finds an attribute by name and namespace. |
int |
getAttributeCount()
Number of attributes. |
static String |
getClsid()
getClsid. |
String |
getLocalName(int index)
Name of the attribute. |
String |
getNamespaceURI(int index)
Namespace of the attribute. |
String |
getValue(int index)
Value of the attribute. |
int |
hashCode()
the hashcode for this object |
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 XMLAttributes() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic XMLAttributes(Object obj) throws IOException
XMLAttributes theXMLAttributes = (XMLAttributes) obj;
obj
to XMLAttributes
.
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 void addAttribute(String localName, String namespaceURI, String value) throws IOException, AutomationException
addAttribute
in interface IXMLAttributes
localName
- The localName (in)namespaceURI
- The namespaceURI (in)value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deleteAttribute(String localName, String namespaceURI) throws IOException, AutomationException
deleteAttribute
in interface IXMLAttributes
localName
- The localName (in)namespaceURI
- The namespaceURI (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int findAttribute(String localName, String namespaceURI) throws IOException, AutomationException
findAttribute
in interface IXMLAttributes
localName
- The localName (in)namespaceURI
- The namespaceURI (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getAttributeCount() throws IOException, AutomationException
getAttributeCount
in interface IXMLAttributes
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getLocalName(int index) throws IOException, AutomationException
getLocalName
in interface IXMLAttributes
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getNamespaceURI(int index) throws IOException, AutomationException
getNamespaceURI
in interface IXMLAttributes
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getValue(int index) throws IOException, AutomationException
getValue
in interface IXMLAttributes
index
- The index (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 |