public class XMLNamespaces extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IXMLNamespaces
Description 'A collection of XML namespace declarations.' 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, IID032b72dc_e0fb_4bb1_8626_1797e25a72a0, xxDummy
Constructor and Description |
---|
XMLNamespaces()
Constructs a XMLNamespaces using ArcGIS Engine.
|
XMLNamespaces(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
XMLNamespaces theXMLNamespaces = (XMLNamespaces) obj; |
Modifier and Type | Method and Description |
---|---|
void |
addNamespace(java.lang.String prefix,
java.lang.String uri)
Adds a namespace to the element.
|
void |
deleteNamespace(java.lang.String uri)
Deletes a namespace from the element.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
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.
|
int |
getNamespaceCount()
Number of namespaces.
|
java.lang.String |
getNamespaceURI(int index)
The namespace URI for a namespace.
|
java.lang.String |
getPrefix(int index)
The namespace prefix for a namespace.
|
int |
hashCode()
the hashcode for this object
|
void |
release()
Release this COM object reference
|
public XMLNamespaces() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic XMLNamespaces(java.lang.Object obj) throws java.io.IOException
XMLNamespaces theXMLNamespaces = (XMLNamespaces) obj;
obj
to XMLNamespaces
.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.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public void addNamespace(java.lang.String prefix, java.lang.String uri) throws java.io.IOException, AutomationException
addNamespace
in interface IXMLNamespaces
prefix
- The prefix (in)uri
- The uri (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void deleteNamespace(java.lang.String uri) throws java.io.IOException, AutomationException
deleteNamespace
in interface IXMLNamespaces
uri
- The uri (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getNamespaceCount() throws java.io.IOException, AutomationException
getNamespaceCount
in interface IXMLNamespaces
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getPrefix(int index) throws java.io.IOException, AutomationException
getPrefix
in interface IXMLNamespaces
index
- 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 IXMLNamespaces
index
- The index (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.