com.esri.arcgis.globecore
Class KmlConvertor

java.lang.Object
  extended by com.esri.arcgis.globecore.KmlConvertor
All Implemented Interfaces:
IKmlConversion, IKmlConvertor, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class KmlConvertor
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IKmlConvertor, IKmlConversion

COM Class 'KmlConvertor'. Generated 3/19/2015 1:20:44 PM from 'C:\ArcGIS\COM\esriGlobeCore.olb'

Description 'The Kml Convertor object.' 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.globecore.IKmlConvertor
IID, IIDd91d9176_41ad_4268_9e33_9295c480307b, xxDummy
 
Fields inherited from interface com.esri.arcgis.carto.IKmlConversion
IID, IIDda7f107f_ae0c_4684_90d1_68b3570560e7, xxDummy
 
Constructor Summary
KmlConvertor()
          Constructs a KmlConvertor using ArcGIS Engine.
KmlConvertor(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
KmlConvertor theKmlConvertor = (KmlConvertor) obj;
 
Method Summary
 byte[] convertToArray()
          The Convert method.
 void convertToFile(java.lang.String filename)
          The Convert method.
 boolean equals(java.lang.Object o)
          Compare this object with another
 IEnvelope getBBox()
          The bounding box of the map.
static java.lang.String getClsid()
          getClsid.
 int getDPI()
          Get DPI property.
 java.lang.String getEndPointUrl()
          Get EndPointUrl property.
 int getFeatureLimit()
          Get FeatureLimit value.
 int getIconSize()
          Get IconSize property.
 IArray getIDList()
          Returns Layer hierarchy.
 int getImageSize()
          Get ImageSize property.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 IPropertySet getKmlParameters()
          Get list of verious KML parameters.
 IArray getLayerIDListFromMap(IMap pMap)
          Get array of numerical layer IDs in hierarchical order from Map.
 IArray getLayerIDListFromMapServer(IMapServer pMapServer)
          Get array of numerical layer IDs in hierarchical order from MapServer.
 java.lang.String getLayerIDs()
          Get layer ID string.
 int getPaletteSize()
          Get PaletteSize property.
 double getScale()
          Get Scale property.
 java.lang.String getWorkingDirectory()
          Get WorkingDirectory property.
 int hashCode()
          the hashcode for this object
 boolean isComposite()
          Get Composite property.
 boolean isIgnoreScaleFactor()
          Get ignore scale factor property.
 boolean isIgnoreVisibility()
          Get ignore visibility property.
 boolean isVectorsToRasters()
          Get VectorsToRasters property.
 byte[] layerToArray(ILayer pLayer, IQueryFilter pQueryFilter, IPropertySet pKmlParameters)
          Converts a layer to KML and outputs a KMZ stream.
 void layerToFile(ILayer pLayer, IQueryFilter pQueryFilter, IPropertySet pKmlParameters, java.lang.String filename)
          Converts a layer to KML and outputs a KMZ file.
 byte[] mapServerMapToArray(IMapServer pMapServer, IQueryFilter pQueryFilter, IPropertySet pKmlParameters, java.lang.String[] pLayerIDs)
          Converts MapServer Map in server environment to KML and outputs a KMZ stream.
 void mapServerMapToFile(IMapServer pMapServer, IQueryFilter pQueryFilter, IPropertySet pKmlParameters, java.lang.String[] pLayerIDs, java.lang.String filename)
          Converts MapServer Map in server environment to KML and outputs a KMZ file.
 byte[] mapToArray(IMap pMap, IQueryFilter pQueryFilter, IPropertySet pKmlParameters, java.lang.String[] pLayerIDs)
          Converts Map to KML and outputs a KMZ stream.
 void mapToFile(IMap pMap, IQueryFilter pQueryFilter, IPropertySet pKmlParameters, java.lang.String[] pLayerIDs, java.lang.String filename)
          Converts Map to KML and outputs a KMZ file.
 void release()
          Release a KmlConvertor.
 void setBBox(IEnvelope pArea)
          The bounding box of the map.
 void setComposite(boolean pComposite)
          Get Composite property.
 void setDPI(int pDpi)
          Get DPI property.
 void setEndPointUrl(java.lang.String pUrl)
          Get EndPointUrl property.
 void setFeatureLimit(int pFeatureLimit)
          Get FeatureLimit value.
 void setIconSize(int psize)
          Get IconSize property.
 void setIgnoreScaleFactor(boolean pIgnoreScaleFactor)
          Get ignore scale factor property.
 void setIgnoreVisibility(boolean pIgnoreVisibility)
          Get ignore visibility property.
 void setImageSize(int psize)
          Get ImageSize property.
 void setKmlParameters(IPropertySet pProps)
          Get list of verious KML parameters.
 void setLayerIDs(java.lang.String pLayerIDs)
          Get layer ID string.
 void setMap(IMap pMap)
          Intialize by IMap object.
 void setMapServer(IMapServer pMapServer)
          Intialize by IMapServer object.
 void setPaletteSize(int psize)
          Get PaletteSize property.
 void setScale(double pScale)
          Get Scale property.
 void setVectorsToRasters(boolean pVectorsToRasters)
          Get VectorsToRasters property.
 void setWorkingDirectory(java.lang.String pWorkingDirectory)
          Get WorkingDirectory property.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KmlConvertor

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

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

KmlConvertor

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

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

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 KmlConvertor.

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

setMap

public void setMap(IMap pMap)
            throws java.io.IOException,
                   AutomationException
Intialize by IMap object.

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

setMapServer

public void setMapServer(IMapServer pMapServer)
                  throws java.io.IOException,
                         AutomationException
Intialize by IMapServer object.

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

getWorkingDirectory

public java.lang.String getWorkingDirectory()
                                     throws java.io.IOException,
                                            AutomationException
Get WorkingDirectory property.

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

setWorkingDirectory

public void setWorkingDirectory(java.lang.String pWorkingDirectory)
                         throws java.io.IOException,
                                AutomationException
Get WorkingDirectory property.

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

getBBox

public IEnvelope getBBox()
                  throws java.io.IOException,
                         AutomationException
The bounding box of the map.

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

setBBox

public void setBBox(IEnvelope pArea)
             throws java.io.IOException,
                    AutomationException
The bounding box of the map.

Specified by:
setBBox in interface IKmlConvertor
Parameters:
pArea - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

convertToFile

public void convertToFile(java.lang.String filename)
                   throws java.io.IOException,
                          AutomationException
The Convert method.

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

convertToArray

public byte[] convertToArray()
                      throws java.io.IOException,
                             AutomationException
The Convert method.

Specified by:
convertToArray in interface IKmlConvertor
Returns:
An unsigned byte
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLayerIDs

public java.lang.String getLayerIDs()
                             throws java.io.IOException,
                                    AutomationException
Get layer ID string.

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

setLayerIDs

public void setLayerIDs(java.lang.String pLayerIDs)
                 throws java.io.IOException,
                        AutomationException
Get layer ID string.

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

isComposite

public boolean isComposite()
                    throws java.io.IOException,
                           AutomationException
Get Composite property.

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

setComposite

public void setComposite(boolean pComposite)
                  throws java.io.IOException,
                         AutomationException
Get Composite property.

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

isVectorsToRasters

public boolean isVectorsToRasters()
                           throws java.io.IOException,
                                  AutomationException
Get VectorsToRasters property.

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

setVectorsToRasters

public void setVectorsToRasters(boolean pVectorsToRasters)
                         throws java.io.IOException,
                                AutomationException
Get VectorsToRasters property.

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

getImageSize

public int getImageSize()
                 throws java.io.IOException,
                        AutomationException
Get ImageSize property.

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

setImageSize

public void setImageSize(int psize)
                  throws java.io.IOException,
                         AutomationException
Get ImageSize property.

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

getPaletteSize

public int getPaletteSize()
                   throws java.io.IOException,
                          AutomationException
Get PaletteSize property.

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

setPaletteSize

public void setPaletteSize(int psize)
                    throws java.io.IOException,
                           AutomationException
Get PaletteSize property.

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

getIconSize

public int getIconSize()
                throws java.io.IOException,
                       AutomationException
Get IconSize property.

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

setIconSize

public void setIconSize(int psize)
                 throws java.io.IOException,
                        AutomationException
Get IconSize property.

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

getScale

public double getScale()
                throws java.io.IOException,
                       AutomationException
Get Scale property.

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

setScale

public void setScale(double pScale)
              throws java.io.IOException,
                     AutomationException
Get Scale property.

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

getDPI

public int getDPI()
           throws java.io.IOException,
                  AutomationException
Get DPI property.

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

setDPI

public void setDPI(int pDpi)
            throws java.io.IOException,
                   AutomationException
Get DPI property.

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

getEndPointUrl

public java.lang.String getEndPointUrl()
                                throws java.io.IOException,
                                       AutomationException
Get EndPointUrl property.

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

setEndPointUrl

public void setEndPointUrl(java.lang.String pUrl)
                    throws java.io.IOException,
                           AutomationException
Get EndPointUrl property.

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

isIgnoreScaleFactor

public boolean isIgnoreScaleFactor()
                            throws java.io.IOException,
                                   AutomationException
Get ignore scale factor property.

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

setIgnoreScaleFactor

public void setIgnoreScaleFactor(boolean pIgnoreScaleFactor)
                          throws java.io.IOException,
                                 AutomationException
Get ignore scale factor property.

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

isIgnoreVisibility

public boolean isIgnoreVisibility()
                           throws java.io.IOException,
                                  AutomationException
Get ignore visibility property.

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

setIgnoreVisibility

public void setIgnoreVisibility(boolean pIgnoreVisibility)
                         throws java.io.IOException,
                                AutomationException
Get ignore visibility property.

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

getFeatureLimit

public int getFeatureLimit()
                    throws java.io.IOException,
                           AutomationException
Get FeatureLimit value.

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

setFeatureLimit

public void setFeatureLimit(int pFeatureLimit)
                     throws java.io.IOException,
                            AutomationException
Get FeatureLimit value.

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

getKmlParameters

public IPropertySet getKmlParameters()
                              throws java.io.IOException,
                                     AutomationException
Get list of verious KML parameters.

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

setKmlParameters

public void setKmlParameters(IPropertySet pProps)
                      throws java.io.IOException,
                             AutomationException
Get list of verious KML parameters.

Specified by:
setKmlParameters in interface IKmlConvertor
Parameters:
pProps - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getIDList

public IArray getIDList()
                 throws java.io.IOException,
                        AutomationException
Returns Layer hierarchy.

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

layerToFile

public void layerToFile(ILayer pLayer,
                        IQueryFilter pQueryFilter,
                        IPropertySet pKmlParameters,
                        java.lang.String filename)
                 throws java.io.IOException,
                        AutomationException
Converts a layer to KML and outputs a KMZ file.

Specified by:
layerToFile in interface IKmlConversion
Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
pQueryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
pKmlParameters - A reference to a com.esri.arcgis.system.IPropertySet (in)
filename - The filename (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

layerToArray

public byte[] layerToArray(ILayer pLayer,
                           IQueryFilter pQueryFilter,
                           IPropertySet pKmlParameters)
                    throws java.io.IOException,
                           AutomationException
Converts a layer to KML and outputs a KMZ stream.

Specified by:
layerToArray in interface IKmlConversion
Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
pQueryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
pKmlParameters - A reference to a com.esri.arcgis.system.IPropertySet (in)
Returns:
An unsigned byte
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

mapToFile

public void mapToFile(IMap pMap,
                      IQueryFilter pQueryFilter,
                      IPropertySet pKmlParameters,
                      java.lang.String[] pLayerIDs,
                      java.lang.String filename)
               throws java.io.IOException,
                      AutomationException
Converts Map to KML and outputs a KMZ file.

Specified by:
mapToFile in interface IKmlConversion
Parameters:
pMap - A reference to a com.esri.arcgis.carto.IMap (in)
pQueryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
pKmlParameters - A reference to a com.esri.arcgis.system.IPropertySet (in)
pLayerIDs - The pLayerIDs (in)
filename - The filename (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

mapToArray

public byte[] mapToArray(IMap pMap,
                         IQueryFilter pQueryFilter,
                         IPropertySet pKmlParameters,
                         java.lang.String[] pLayerIDs)
                  throws java.io.IOException,
                         AutomationException
Converts Map to KML and outputs a KMZ stream.

Specified by:
mapToArray in interface IKmlConversion
Parameters:
pMap - A reference to a com.esri.arcgis.carto.IMap (in)
pQueryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
pKmlParameters - A reference to a com.esri.arcgis.system.IPropertySet (in)
pLayerIDs - The pLayerIDs (in)
Returns:
An unsigned byte
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

mapServerMapToFile

public void mapServerMapToFile(IMapServer pMapServer,
                               IQueryFilter pQueryFilter,
                               IPropertySet pKmlParameters,
                               java.lang.String[] pLayerIDs,
                               java.lang.String filename)
                        throws java.io.IOException,
                               AutomationException
Converts MapServer Map in server environment to KML and outputs a KMZ file.

Specified by:
mapServerMapToFile in interface IKmlConversion
Parameters:
pMapServer - A reference to a com.esri.arcgis.carto.IMapServer (in)
pQueryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
pKmlParameters - A reference to a com.esri.arcgis.system.IPropertySet (in)
pLayerIDs - The pLayerIDs (in)
filename - The filename (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

mapServerMapToArray

public byte[] mapServerMapToArray(IMapServer pMapServer,
                                  IQueryFilter pQueryFilter,
                                  IPropertySet pKmlParameters,
                                  java.lang.String[] pLayerIDs)
                           throws java.io.IOException,
                                  AutomationException
Converts MapServer Map in server environment to KML and outputs a KMZ stream.

Specified by:
mapServerMapToArray in interface IKmlConversion
Parameters:
pMapServer - A reference to a com.esri.arcgis.carto.IMapServer (in)
pQueryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
pKmlParameters - A reference to a com.esri.arcgis.system.IPropertySet (in)
pLayerIDs - The pLayerIDs (in)
Returns:
An unsigned byte
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLayerIDListFromMap

public IArray getLayerIDListFromMap(IMap pMap)
                             throws java.io.IOException,
                                    AutomationException
Get array of numerical layer IDs in hierarchical order from Map.

Specified by:
getLayerIDListFromMap in interface IKmlConversion
Parameters:
pMap - A reference to a com.esri.arcgis.carto.IMap (in)
Returns:
A reference to a com.esri.arcgis.system.IArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLayerIDListFromMapServer

public IArray getLayerIDListFromMapServer(IMapServer pMapServer)
                                   throws java.io.IOException,
                                          AutomationException
Get array of numerical layer IDs in hierarchical order from MapServer.

Specified by:
getLayerIDListFromMapServer in interface IKmlConversion
Parameters:
pMapServer - A reference to a com.esri.arcgis.carto.IMapServer (in)
Returns:
A reference to a com.esri.arcgis.system.IArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.