com.esri.arcgis.carto
Class IMSGlobeXMLParser

java.lang.Object
  extended by com.esri.arcgis.carto.IMSGlobeXMLParser
All Implemented Interfaces:
IIMSGlobeXMLParser, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class IMSGlobeXMLParser
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IIMSGlobeXMLParser

IMS Globe Sub Service.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

Constructor Summary
IMSGlobeXMLParser()
          Constructs a IMSGlobeXMLParser using ArcGIS Engine.
IMSGlobeXMLParser(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
IMSGlobeXMLParser theIMSGlobeXMLParser = (IMSGlobeXMLParser) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 IIMSGlobeXMLNode getHighestNode(String tag)
          The highest node in the tree with the tag.
 String getResponseBody()
          A string that represents the response body.
 IIMSGlobeXMLNode getRoot()
          A reference to the root of the xml structure.
 int hashCode()
          the hashcode for this object
 String makeXmlStr()
          The xml string representing the internal node structure.
 void parse(String xmlStr)
          Parses the xml structure from a string.
 void setRootByRef(IIMSGlobeXMLNode root)
          A reference to the root of the xml structure.
 void setXmlHeader(String rhs1)
          The header xml information.
 
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

IMSGlobeXMLParser

public IMSGlobeXMLParser()
                  throws IOException,
                         UnknownHostException
Constructs a IMSGlobeXMLParser using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

IMSGlobeXMLParser

public IMSGlobeXMLParser(Object obj)
                  throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
IMSGlobeXMLParser theIMSGlobeXMLParser = (IMSGlobeXMLParser) obj;

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

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

getClsid

public static String getClsid()
getClsid.


equals

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

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

parse

public void parse(String xmlStr)
           throws IOException,
                  AutomationException
Parses the xml structure from a string.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

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

getRoot

public IIMSGlobeXMLNode getRoot()
                         throws IOException,
                                AutomationException
A reference to the root of the xml structure.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

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

getHighestNode

public IIMSGlobeXMLNode getHighestNode(String tag)
                                throws IOException,
                                       AutomationException
The highest node in the tree with the tag.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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

makeXmlStr

public String makeXmlStr()
                  throws IOException,
                         AutomationException
The xml string representing the internal node structure.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

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

setRootByRef

public void setRootByRef(IIMSGlobeXMLNode root)
                  throws IOException,
                         AutomationException
A reference to the root of the xml structure.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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

setXmlHeader

public void setXmlHeader(String rhs1)
                  throws IOException,
                         AutomationException
The header xml information.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setXmlHeader in interface IIMSGlobeXMLParser
Parameters:
rhs1 - The rhs1 (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getResponseBody

public String getResponseBody()
                       throws IOException,
                              AutomationException
A string that represents the response body.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getResponseBody in interface IIMSGlobeXMLParser
Returns:
The responseBody
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.