com.esri.arcgis.carto
Class IMSGlobeXMLNode

java.lang.Object
  extended by com.esri.arcgis.carto.IMSGlobeXMLNode
All Implemented Interfaces:
IIMSGlobeXMLNode, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class IMSGlobeXMLNode
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IIMSGlobeXMLNode

COM Class 'IMSGlobeXMLNode'. Generated 3/19/2015 1:20:42 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description 'IMS Globe Sub Service.' 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 =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.carto.IIMSGlobeXMLNode
IID, IIDcdae0026_e2ae_45f0_9619_10fdcb9f615f, xxDummy
 
Constructor Summary
IMSGlobeXMLNode()
          Constructs a IMSGlobeXMLNode using ArcGIS Engine.
IMSGlobeXMLNode(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
IMSGlobeXMLNode theIMSGlobeXMLNode = (IMSGlobeXMLNode) obj;
 
Method Summary
 int addBlankAttrib()
          Adds a blank attribute to the list of attributes.
 void addChild(IIMSGlobeXMLNode node)
          Adds a child node to the end of the list.
 int addFullAttrib(java.lang.String name, java.lang.String value)
          Add an attibute to the node.
 void deleteChild(int num)
          Deletes a child at position.
 boolean equals(java.lang.Object o)
          Compare this object with another
 java.lang.String getAttribName(int pos)
          The attribute number i's name.
 java.lang.String getAttribValueByIndex(int pos)
          The attribute number i's value.
 java.lang.String getAttribValueByName(java.lang.String name)
          The attribute value by name.
 IIMSGlobeXMLNode getChildByAttribNameValue(java.lang.String attribName, java.lang.String atttribValue)
          The node for which the specified attrib is present and equal to value: if value is null then the first node with name is returned.
 IIMSGlobeXMLNode getChildByIndex(int i)
          The reference to the child at pos i.
 IIMSGlobeXMLNode getChildByName(java.lang.String tagName)
          The reference to the child based on its tag name.
static java.lang.String getClsid()
          getClsid.
 IIMSGlobeXMLNode getDeepClone()
          Makes a copy of input -- including children.
 IIMSGlobeXMLNode getHighestNode(java.lang.String searchString)
          Traverses the tree to find the highest node in the tree that matched the searchString.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int getNumAttrib()
          The number of attributes for this node.
 int getNumChildren()
          The number of children nodes.
 IIMSGlobeXMLNode getShallowClone()
          Makes a copy of input -- except children.
 java.lang.String getXmlTag()
          The tag of this node.
 int hashCode()
          the hashcode for this object
 java.lang.String makeXmlStr()
          Outputs an xml string representation of the internal node representation.
 void parse(java.lang.String xmlStrOrig)
          Parse the nodes from an input string.
 void release()
          Release a IMSGlobeXMLNode.
 void setAttribName(int pos, java.lang.String name)
          The attribute number i's name.
 void setAttribValueByIndex(int pos, java.lang.String value)
          The attribute number i's value.
 void setAttribValueByName(java.lang.String name, java.lang.String value)
          The attribute value by name.
 void setXmlTag(java.lang.String tag)
          The tag of this node.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IMSGlobeXMLNode

public IMSGlobeXMLNode()
                throws java.io.IOException,
                       java.net.UnknownHostException
Constructs a IMSGlobeXMLNode using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

IMSGlobeXMLNode

public IMSGlobeXMLNode(java.lang.Object obj)
                throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
IMSGlobeXMLNode theIMSGlobeXMLNode = (IMSGlobeXMLNode) obj;

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

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

getClsid

public static java.lang.String getClsid()
getClsid.


equals

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

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a IMSGlobeXMLNode.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getNumChildren

public int getNumChildren()
                   throws java.io.IOException,
                          AutomationException
The number of children nodes.

Specified by:
getNumChildren in interface IIMSGlobeXMLNode
Returns:
The num
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getXmlTag

public java.lang.String getXmlTag()
                           throws java.io.IOException,
                                  AutomationException
The tag of this node.

Specified by:
getXmlTag in interface IIMSGlobeXMLNode
Returns:
The tag
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNumAttrib

public int getNumAttrib()
                 throws java.io.IOException,
                        AutomationException
The number of attributes for this node.

Specified by:
getNumAttrib in interface IIMSGlobeXMLNode
Returns:
The num
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getChildByIndex

public IIMSGlobeXMLNode getChildByIndex(int i)
                                 throws java.io.IOException,
                                        AutomationException
The reference to the child at pos i.

Specified by:
getChildByIndex in interface IIMSGlobeXMLNode
Parameters:
i - The i (in)
Returns:
A reference to a com.esri.arcgis.carto.IIMSGlobeXMLNode
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getChildByName

public IIMSGlobeXMLNode getChildByName(java.lang.String tagName)
                                throws java.io.IOException,
                                       AutomationException
The reference to the child based on its tag name.

Specified by:
getChildByName in interface IIMSGlobeXMLNode
Parameters:
tagName - The tagName (in)
Returns:
A reference to a com.esri.arcgis.carto.IIMSGlobeXMLNode
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAttribName

public java.lang.String getAttribName(int pos)
                               throws java.io.IOException,
                                      AutomationException
The attribute number i's name.

Specified by:
getAttribName in interface IIMSGlobeXMLNode
Parameters:
pos - The pos (in)
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAttribValueByIndex

public java.lang.String getAttribValueByIndex(int pos)
                                       throws java.io.IOException,
                                              AutomationException
The attribute number i's value.

Specified by:
getAttribValueByIndex in interface IIMSGlobeXMLNode
Parameters:
pos - The pos (in)
Returns:
The value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAttribValueByIndex

public void setAttribValueByIndex(int pos,
                                  java.lang.String value)
                           throws java.io.IOException,
                                  AutomationException
The attribute number i's value.

Specified by:
setAttribValueByIndex in interface IIMSGlobeXMLNode
Parameters:
pos - The pos (in)
value - The value (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addChild

public void addChild(IIMSGlobeXMLNode node)
              throws java.io.IOException,
                     AutomationException
Adds a child node to the end of the list.

Specified by:
addChild in interface IIMSGlobeXMLNode
Parameters:
node - A reference to a com.esri.arcgis.carto.IIMSGlobeXMLNode (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addBlankAttrib

public int addBlankAttrib()
                   throws java.io.IOException,
                          AutomationException
Adds a blank attribute to the list of attributes.

Specified by:
addBlankAttrib in interface IIMSGlobeXMLNode
Returns:
The num
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteChild

public void deleteChild(int num)
                 throws java.io.IOException,
                        AutomationException
Deletes a child at position.

Specified by:
deleteChild in interface IIMSGlobeXMLNode
Parameters:
num - The num (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAttribName

public void setAttribName(int pos,
                          java.lang.String name)
                   throws java.io.IOException,
                          AutomationException
The attribute number i's name.

Specified by:
setAttribName in interface IIMSGlobeXMLNode
Parameters:
pos - The pos (in)
name - The name (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAttribValueByName

public void setAttribValueByName(java.lang.String name,
                                 java.lang.String value)
                          throws java.io.IOException,
                                 AutomationException
The attribute value by name.

Specified by:
setAttribValueByName in interface IIMSGlobeXMLNode
Parameters:
name - The name (in)
value - The value (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setXmlTag

public void setXmlTag(java.lang.String tag)
               throws java.io.IOException,
                      AutomationException
The tag of this node.

Specified by:
setXmlTag in interface IIMSGlobeXMLNode
Parameters:
tag - The tag (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getShallowClone

public IIMSGlobeXMLNode getShallowClone()
                                 throws java.io.IOException,
                                        AutomationException
Makes a copy of input -- except children.

Specified by:
getShallowClone in interface IIMSGlobeXMLNode
Returns:
A reference to a com.esri.arcgis.carto.IIMSGlobeXMLNode
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDeepClone

public IIMSGlobeXMLNode getDeepClone()
                              throws java.io.IOException,
                                     AutomationException
Makes a copy of input -- including children.

Specified by:
getDeepClone in interface IIMSGlobeXMLNode
Returns:
A reference to a com.esri.arcgis.carto.IIMSGlobeXMLNode
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

parse

public void parse(java.lang.String xmlStrOrig)
           throws java.io.IOException,
                  AutomationException
Parse the nodes from an input string.

Specified by:
parse in interface IIMSGlobeXMLNode
Parameters:
xmlStrOrig - The xmlStrOrig (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

makeXmlStr

public java.lang.String makeXmlStr()
                            throws java.io.IOException,
                                   AutomationException
Outputs an xml string representation of the internal node representation.

Specified by:
makeXmlStr in interface IIMSGlobeXMLNode
Returns:
The xmlStr
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addFullAttrib

public int addFullAttrib(java.lang.String name,
                         java.lang.String value)
                  throws java.io.IOException,
                         AutomationException
Add an attibute to the node.

Specified by:
addFullAttrib in interface IIMSGlobeXMLNode
Parameters:
name - The name (in)
value - The value (in)
Returns:
The pos
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAttribValueByName

public java.lang.String getAttribValueByName(java.lang.String name)
                                      throws java.io.IOException,
                                             AutomationException
The attribute value by name.

Specified by:
getAttribValueByName in interface IIMSGlobeXMLNode
Parameters:
name - The name (in)
Returns:
The value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getChildByAttribNameValue

public IIMSGlobeXMLNode getChildByAttribNameValue(java.lang.String attribName,
                                                  java.lang.String atttribValue)
                                           throws java.io.IOException,
                                                  AutomationException
The node for which the specified attrib is present and equal to value: if value is null then the first node with name is returned.

Specified by:
getChildByAttribNameValue in interface IIMSGlobeXMLNode
Parameters:
attribName - The attribName (in)
atttribValue - The atttribValue (in)
Returns:
A reference to a com.esri.arcgis.carto.IIMSGlobeXMLNode
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHighestNode

public IIMSGlobeXMLNode getHighestNode(java.lang.String searchString)
                                throws java.io.IOException,
                                       AutomationException
Traverses the tree to find the highest node in the tree that matched the searchString.

Specified by:
getHighestNode in interface IIMSGlobeXMLNode
Parameters:
searchString - The searchString (in)
Returns:
A reference to a com.esri.arcgis.carto.IIMSGlobeXMLNode
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.