|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.system.XMLNamespaces
public class XMLNamespaces
A collection of XML namespace declarations.
Constructor Summary | |
---|---|
XMLNamespaces()
Constructs a XMLNamespaces using ArcGIS Engine. |
|
XMLNamespaces(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. XMLNamespaces theXMLNamespaces = (XMLNamespaces) obj; |
Method Summary | |
---|---|
void |
addNamespace(String prefix,
String uri)
Adds a namespace to the element. |
void |
deleteNamespace(String uri)
Deletes a namespace from the element. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
getNamespaceCount()
Number of namespaces. |
String |
getNamespaceURI(int index)
The namespace URI for a namespace. |
String |
getPrefix(int index)
The namespace prefix for a namespace. |
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 XMLNamespaces() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic XMLNamespaces(Object obj) throws IOException
XMLNamespaces theXMLNamespaces = (XMLNamespaces) obj;
obj
to XMLNamespaces
.
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 addNamespace(String prefix, String uri) throws IOException, AutomationException
addNamespace
in interface IXMLNamespaces
prefix
- The prefix (in)uri
- The uri (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deleteNamespace(String uri) throws IOException, AutomationException
deleteNamespace
in interface IXMLNamespaces
uri
- The uri (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getNamespaceCount() throws IOException, AutomationException
getNamespaceCount
in interface IXMLNamespaces
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getPrefix(int index) throws IOException, AutomationException
getPrefix
in interface IXMLNamespaces
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 IXMLNamespaces
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 |